Make war-stats dropdown scrollable
parent
6e015934b3
commit
00edd2ff57
|
@ -22,3 +22,9 @@ li {
|
||||||
float: left;
|
float: left;
|
||||||
width: calc(100% - 400px);
|
width: calc(100% - 400px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scrollable-menu {
|
||||||
|
height: auto;
|
||||||
|
max-height: 200px;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
Schlacht Statistik
|
Schlacht Statistik
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu scrollable-menu">
|
||||||
<li *ngFor="let war of wars">
|
<li *ngFor="let war of wars">
|
||||||
<a [routerLink]="['/cc-wars/' + war._id]">{{war.title}} <small>{{war.date | date: 'dd.MM.yy'}}</small></a>
|
<a [routerLink]="['/cc-wars/' + war._id]">{{war.title}} <small>{{war.date | date: 'dd.MM.yy'}}</small></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue