Просмотр исходного кода

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 лет назад
Родитель
Сommit
4eb069916e
1 измененных файлов с 1 добавлено и 1 удалено
  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;
   }
 }