diff --git a/packages/@core/shared/design/src/css/global.css b/packages/@core/shared/design/src/css/global.css index ec819f3e..a03a5f93 100644 --- a/packages/@core/shared/design/src/css/global.css +++ b/packages/@core/shared/design/src/css/global.css @@ -41,6 +41,7 @@ body { min-height: 100vh; + overflow: overlay; -webkit-font-smoothing: antialiased; } @@ -88,6 +89,20 @@ input[type='number']::-webkit-outer-spin-button { @apply m-0 appearance-none; } + + /* 考虑只在mac下打开 */ + + /* *::-webkit-scrollbar { + @apply h-[1px] w-[10px]; + } + + *::-webkit-scrollbar-thumb { + @apply bg-border rounded-sm border-none; + } + + *::-webkit-scrollbar-track { + @apply rounded-sm border-none bg-transparent shadow-none; + } */ } @layer components { diff --git a/packages/@core/ui-kit/layout-ui/src/components/layout-tabbar.vue b/packages/@core/ui-kit/layout-ui/src/components/layout-tabbar.vue index e741f8d3..ca189af2 100644 --- a/packages/@core/ui-kit/layout-ui/src/components/layout-tabbar.vue +++ b/packages/@core/ui-kit/layout-ui/src/components/layout-tabbar.vue @@ -26,7 +26,7 @@ const style = computed((): CSSProperties => {