💄 Some minor UI improvments

This commit is contained in:
Alicia Sykes 2021-09-18 17:45:46 +01:00
parent 8e03930e0c
commit 744e962624
3 changed files with 7 additions and 3 deletions

View File

@ -17,7 +17,7 @@
<!-- Modal for manually changing locale --> <!-- Modal for manually changing locale -->
<modal :name="modalNames.LANG_SWITCHER" classes="dashy-modal" <modal :name="modalNames.LANG_SWITCHER" classes="dashy-modal"
:resizable="true" width="35%" height="50%"> :resizable="true" width="35%" height="60%">
<LanguageSwitcher /> <LanguageSwitcher />
</modal> </modal>

View File

@ -129,9 +129,13 @@ export default {
</style> </style>
<style lang="scss"> <style lang="scss">
@import '@/styles/style-helpers.scss';
.language-dropdown { .language-dropdown {
margin: 1rem auto; margin: 1rem auto;
ul.vs__dropdown-menu {
max-height: 14rem;
@extend .scroll-bar;
}
div.vs__dropdown-toggle { div.vs__dropdown-toggle {
padding: 0.2rem 0; padding: 0.2rem 0;
} }

View File

@ -148,7 +148,7 @@ export default {
} }
ul.vs__dropdown-menu { ul.vs__dropdown-menu {
width: auto; width: auto;
z-index: 5; z-index: 12;
max-width: 13rem; max-width: 13rem;
overflow-x: hidden; overflow-x: hidden;
@extend .scroll-bar; @extend .scroll-bar;