Skip to content

Commit 333580e

Browse files
André DietrichAndré Dietrich
authored andcommitted
fixed: translation menu scrollining on overflow
1 parent e6d38f8 commit 333580e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/LanguageDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default {
7676
<ul
7777
class="dropdown-menu"
7878
:class="{ show: open }"
79-
style="z-index: 1000; left: 50%; transform: translateX(-50%)"
79+
style="left: 50%; transform: translateX(-50%); max-height: calc(100vh - 4rem); overflow-y: auto; overscroll-behavior: contain;"
8080
>
8181
<li v-for="locale in $i18n.availableLocales" :key="locale">
8282
<button

0 commit comments

Comments
 (0)