Skip to content

Commit

Permalink
Merge pull request #197 from jellyfin/scrollable-languages
Browse files Browse the repository at this point in the history
Properly scrollable locale switcher
  • Loading branch information
heyhippari committed Oct 19, 2020
2 parents 7b250f0 + 9ebb079 commit 371ff6e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/LocaleSwitcher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<v-icon>mdi-web</v-icon>
</v-btn>
</template>
<v-list>
<v-list class="overflow-y-auto">
<v-list-item
v-for="(item, index) in $i18n.locales"
:key="index"
Expand All @@ -17,3 +17,8 @@
</v-list>
</v-menu>
</template>
<style scoped>
.v-list {
max-height: 31em;
}
</style>

0 comments on commit 371ff6e

Please sign in to comment.