Browse Source

fix: hover effect (#3027)

change `width` to `min-width` in order to be compatible with the width of the globalheader's account is more than 160px
JoeyKo 7 years ago
parent
commit
4eb069916e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/GlobalHeader/index.less

+ 1 - 1
src/components/GlobalHeader/index.less

@@ -29,7 +29,7 @@
     margin-right: 8px;
   }
   :global(.ant-dropdown-menu-item) {
-    width: 160px;
+    min-width: 160px;
   }
 }