From 011ebcb0546bbdc07faaf793c9775618d8513c09 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Sat, 23 Nov 2024 16:49:35 +0100 Subject: [PATCH] Fixed chrome scrollbar issue --- frontend/components/ChampionSelector.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/components/ChampionSelector.vue b/frontend/components/ChampionSelector.vue index a2961a0..cea5d2e 100644 --- a/frontend/components/ChampionSelector.vue +++ b/frontend/components/ChampionSelector.vue @@ -42,10 +42,14 @@ watch(searchText, (newT, oldT) => { outline: none; } .champion-container { - width: 1385px; + width: 1390px; height: 660px; - overflow: scroll; - + + overflow-x: hidden; + overflow-y: scroll; + scrollbar-color: var(--color-on-surface) var(--color-surface-darker); + scrollbar-width: thin; + margin: auto; } \ No newline at end of file