fix ant-menu active bar position

This commit is contained in:
srgooglo 2022-10-12 15:14:05 +02:00
parent be6a2253fd
commit 990fc1e487

View File

@ -167,11 +167,29 @@
// fix menu colors
.ant-menu-item {
color: var(--text-color);
border-radius: 8px;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
color: var(--text-color);
background-color: var(--background-color-primary) !important;
&::after {
opacity: 0;
}
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 10px;
height: 100%;
background-color: var(--primaryColor);
}
}
.ant-menu-item:active {