Make flags clickable
This commit is contained in:
parent
6635f2ce8f
commit
0508ac1a5d
@ -35,11 +35,11 @@
|
|||||||
<tr *ngFor="let country of countries">
|
<tr *ngFor="let country of countries">
|
||||||
<td class="text-left rank">{{ country.rank }}</td>
|
<td class="text-left rank">{{ country.rank }}</td>
|
||||||
<td class="text-left text-truncate name">
|
<td class="text-left text-truncate name">
|
||||||
<div class="d-flex">
|
<a class="d-flex align-items-center" [routerLink]="['/lightning/nodes/country' | relativeUrl, country.iso]">
|
||||||
<span style="font-size: 20px">{{ country.flag }}</span>
|
<span class="flag">{{ country.flag }}</span>
|
||||||
|
|
||||||
<a class="mt-auto mb-auto" [routerLink]="['/lightning/nodes/country' | relativeUrl, country.iso]">{{ country.name.en }}</a>
|
<span class="link">{{ country.name.en }}</span>
|
||||||
</div>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right share">{{ country.share }}%</td>
|
<td class="text-right share">{{ country.share }}%</td>
|
||||||
<td class="text-right nodes">{{ country.count }}</td>
|
<td class="text-right nodes">{{ country.count }}</td>
|
||||||
|
@ -79,3 +79,15 @@
|
|||||||
max-width: 100px;
|
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