Browse Source

perf: improve menu styles

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/581/head
Ryan Wang 3 years ago
parent
commit
6dab80a6dd
  1. 5
      src/components/base/menu/MenuItem.vue

5
src/components/base/menu/MenuItem.vue

@ -83,13 +83,14 @@ function handleClick() {
@apply flex;
@apply select-none;
@apply relative;
@apply p-2;
@apply font-normal;
border-radius: 4px;
padding: 6px 10px;
&:hover,
&.active {
background: #f4f5f7;
@apply bg-gray-100;
@apply font-medium;
}

Loading…
Cancel
Save