Change text color only of active navbar element

This commit is contained in:
Jeder 2023-09-13 13:53:20 +02:00
parent b97c4511d9
commit 917114dfa8

View file

@ -423,9 +423,6 @@ function more(ev: MouseEvent) {
&:hover,
&:focus-within,
&.active {
color: var(--accent);
transition: all 0.4s ease;
&:before {
content: "";
display: block;
@ -449,6 +446,9 @@ function more(ev: MouseEvent) {
}
&.active {
color: var(--accent);
transition: all 0.4s ease;
&:before {
background: var(--accentedBg);
}