Browse Source

fix: sidebar header height (#5183)

Netfan 3 months ago
parent
commit
1853ba1d60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue

+ 1 - 1
packages/@core/ui-kit/layout-ui/src/components/layout-sidebar.vue

@@ -166,7 +166,7 @@ const headerStyle = computed((): CSSProperties => {
 
   return {
     ...(isSidebarMixed ? { display: 'flex', justifyContent: 'center' } : {}),
-    height: `${headerHeight}px`,
+    height: `${headerHeight - 1}px`,
     ...contentWidthStyle.value,
   };
 });