Merge pull request #2155 from mempool/nymkappa/feature/clickable-flags
Make flags clickable
This commit is contained in:
		
						commit
						ec9c9dda4d
					
				@ -35,11 +35,11 @@
 | 
			
		||||
        <tr *ngFor="let country of countries">
 | 
			
		||||
          <td class="text-left rank">{{ country.rank }}</td>
 | 
			
		||||
          <td class="text-left text-truncate name">
 | 
			
		||||
            <div class="d-flex">
 | 
			
		||||
              <span style="font-size: 20px">{{ country.flag }}</span>
 | 
			
		||||
            <a class="d-flex align-items-center" [routerLink]="['/lightning/nodes/country' | relativeUrl, country.iso]">
 | 
			
		||||
              <span class="flag">{{ country.flag }}</span>
 | 
			
		||||
               
 | 
			
		||||
              <a class="mt-auto mb-auto" [routerLink]="['/lightning/nodes/country' | relativeUrl, country.iso]">{{ country.name.en }}</a>
 | 
			
		||||
            </div>
 | 
			
		||||
              <span class="link">{{ country.name.en }}</span>
 | 
			
		||||
            </a>
 | 
			
		||||
          </td>
 | 
			
		||||
          <td class="text-right share">{{ country.share }}%</td>
 | 
			
		||||
          <td class="text-right nodes">{{ country.count }}</td>
 | 
			
		||||
 | 
			
		||||
@ -79,3 +79,15 @@
 | 
			
		||||
    max-width: 100px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
a {
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
a:hover .link {
 | 
			
		||||
  text-decoration: underline;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.flag {
 | 
			
		||||
  font-size: 20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user