Browse Source

refactor(gui-v2): replace scrollbar style in language switcher

pull/3099/head
braks 2 years ago
parent
commit
66c7525c4d
  1. 8
      packages/nc-gui-v2/components/general/Language.vue

8
packages/nc-gui-v2/components/general/Language.vue

@ -41,7 +41,7 @@ onMounted(() => {
<MaterialSymbolsTranslate v-bind="$attrs" class="md:text-xl cursor-pointer nc-menu-translate" />
<template #overlay>
<a-menu class="scrollbar min-w-50 max-h-90vh overflow-auto !py-0 dark:(!bg-gray-800 !text-white)">
<a-menu class="scrollbar-thin-dull min-w-50 max-h-90vh overflow-auto !py-0 dark:(!bg-gray-800 !text-white)">
<a-menu-item
v-for="lang of languages"
:key="lang"
@ -71,9 +71,3 @@ onMounted(() => {
</template>
</a-dropdown>
</template>
<style scoped>
.scrollbar {
@apply scrollbar scrollbar-thin scrollbar-thumb-rounded scrollbar-thumb-primary scrollbar-track-white dark:(!scrollbar-track-gray-900);
}
</style>

Loading…
Cancel
Save