Browse Source

fix (#2182): use @nav-header-height variable

use @nav-header-height
Ivocin 7 years ago
parent
commit
56e648ec14
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/SiderMenu/index.less

+ 2 - 2
src/components/SiderMenu/index.less

@@ -63,8 +63,8 @@
 
 :global {
   .top-nav-menu li.ant-menu-item {
-    height: 64px;
-    line-height: 64px;
+    height: @nav-header-height;
+    line-height: @nav-header-height;
   }
   .drawer .drawer-content {
     background: #001529;