From 4eb069916e910ccda491b20f61ea1e98d51836d1 Mon Sep 17 00:00:00 2001 From: JoeyKo Date: Fri, 30 Nov 2018 12:10:36 +0800 Subject: [PATCH] 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 --- src/components/GlobalHeader/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GlobalHeader/index.less b/src/components/GlobalHeader/index.less index 5ed7fbaf..10758fe9 100644 --- a/src/components/GlobalHeader/index.less +++ b/src/components/GlobalHeader/index.less @@ -29,7 +29,7 @@ margin-right: 8px; } :global(.ant-dropdown-menu-item) { - width: 160px; + min-width: 160px; } } -- GitLab