Skip to content

Commit 5154de0

Browse files
Fix dropdown for champion skins being toolarge
1 parent 2fdb806 commit 5154de0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/champions/[id].vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ const swapCurrentSkin = (id: number) => {
2727
<button class="btn dropdown-toggle w-100 text-light" type="button" data-bs-toggle="dropdown">
2828
{{ currentSkin.name }} <span class="ms-2 fw-bold">ID: {{ currentSkin.id }}</span>
2929
</button>
30-
<ul class="dropdown-menu w-100 p-2">
31-
<li v-for="skin in champion.skins">
32-
<button class="btn" type="button" @click="swapCurrentSkin(skin.id)">{{ skin.name }}</button>
30+
<ul class="dropdown-menu w-100 p-2" style="max-height: 300px; overflow-y: auto;">
31+
<li v-for="skin in champion.skins" class="border-bottom border-light border-opacity-25">
32+
<button class="btn p-1 w-100" type="button" @click="swapCurrentSkin(skin.id)">{{ skin.name }}</button>
3333
</li>
3434
</ul>
3535
</div>

0 commit comments

Comments
 (0)