Change order of the current nav item indicator styles

This commit is contained in:
daudix
2024-06-09 19:13:53 +03:00
parent b63c531ff3
commit cba25e34f7
2 changed files with 12 additions and 10 deletions

View File

@ -65,16 +65,6 @@
}
&.active {
&:hover::before {
right: 1rem;
left: 1rem;
border-bottom: 0.25rem solid var(--primary-color);
}
&:active::before {
border-radius: 0.25rem;
}
&::before {
display: block;
position: absolute;
@ -87,6 +77,16 @@
border-radius: 0 0 0.25rem 0.25rem;
content: "";
}
&:hover::before {
right: 1rem;
left: 1rem;
border-bottom: 0.25rem solid var(--primary-color);
}
&:active::before {
border-radius: 0.25rem;
}
}
}