@@ -25,25 +25,17 @@
border-radius: unset !important;
}
-.ant-menu-item {
+.ant-menu-item-selected {
position: relative;
&::before {
position: absolute;
- top: 50%;
+ top: 0;
right: 0;
- bottom: 50%;
+ bottom: 0;
width: 4px;
content: '';
background: var(--primary-color);
- transition: top 150ms ease-in-out, bottom 150ms ease-in-out;
- }
-}
-
-.ant-menu-item-selected {
- &::before {
- top: 0;
- bottom: 0;