mirror of
https://github.com/mempool/mempool.git
synced 2025-04-22 14:34:47 +02:00
Make flags clickable
This commit is contained in:
parent
6635f2ce8f
commit
0508ac1a5d
@ -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