Browse Source

fix: nested menu problem

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3368/head
mertmit 2 years ago
parent
commit
3e009d9497
  1. 4
      packages/nc-gui-v2/assets/style.scss
  2. 6
      packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue

4
packages/nc-gui-v2/assets/style.scss

@ -214,10 +214,6 @@ a {
@apply !p-0 !rounded; @apply !p-0 !rounded;
} }
.ant-dropdown-menu-submenu-popup {
@apply scrollbar-thin-dull min-w-50 max-h-90vh overflow-auto !shadow !rounded;
}
.ant-tabs-dropdown-menu-title-content { .ant-tabs-dropdown-menu-title-content {
@apply flex items-center; @apply flex items-center;
} }

6
packages/nc-gui-v2/pages/[projectType]/[projectId]/index.vue

@ -293,7 +293,11 @@ const onMenuClose = (visible: boolean) => {
<GeneralPreviewAs /> <GeneralPreviewAs />
</a-sub-menu> </a-sub-menu>
<a-sub-menu key="language" class="lang-menu scrollbar-thin-dull min-w-50 max-h-90vh overflow-auto !py-0"> <a-sub-menu
key="language"
class="lang-menu !py-0"
popup-class-name="scrollbar-thin-dull min-w-50 max-h-90vh !overflow-auto"
>
<template #title> <template #title>
<div class="nc-project-menu-item group"> <div class="nc-project-menu-item group">
<MaterialSymbolsTranslate class="group-hover:text-accent nc-language" /> <MaterialSymbolsTranslate class="group-hover:text-accent nc-language" />

Loading…
Cancel
Save