Change order of the current nav item indicator styles
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user