Browse Source

fix(gui-v2): add relative position to menu item element

re #3053

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3022/head
Pranav C 2 years ago
parent
commit
c8be09ec61
  1. 2
      packages/nc-gui-v2/assets/style-v2.scss

2
packages/nc-gui-v2/assets/style-v2.scss

@ -75,7 +75,7 @@ html {
// menu item styling
.nc-menu-item {
@apply cursor-pointer text-xs flex items-center gap-2 px-4 py-3 after:(content-[''] absolute top-0 left-0 bottom-0 w-full h-full right-0 bg-current opacity-0 transition transition-opactity duration-100) hover:(after:(opacity-5));
@apply cursor-pointer text-xs flex items-center gap-2 px-4 py-3 relative after:(content-[''] absolute top-0 left-0 bottom-0 w-full h-full right-0 bg-current opacity-0 transition transition-opactity duration-100) hover:(after:(opacity-5));
}
.nc-sidebar-right-item {

Loading…
Cancel
Save