1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Fix active nav link (#566)

**Issue:**
<img width="684" alt="Screenshot 2022-09-20 at 11 57 22"
src="https://user-images.githubusercontent.com/13393018/191200923-0db07127-05ab-4251-a56f-7207619796e0.png">

**Fix:**
<img width="684" alt="Screenshot 2022-09-20 at 11 57 26"
src="https://user-images.githubusercontent.com/13393018/191201017-381b0060-4aed-4d1c-ae58-b2f911878cdc.png">
This commit is contained in:
Rushan
2022-09-20 18:02:13 +04:00
committed by GitHub
parent 4162b52a65
commit bb39d1139e

View File

@ -18,15 +18,6 @@
position: relative;
}
.nav__link--active {
& > span {
&:before {
opacity: 1;
transform: translateY(0);
}
}
}
.nav__link--download {
border: 1px solid var(--nav-download-border-color);
transition: background-color 300ms, color 300ms;
@ -180,6 +171,15 @@
transition: opacity 300ms, transform 300ms;
}
}
&.nav__link--active {
& > span {
&:before {
opacity: 1;
transform: translateY(0);
}
}
}
&:not(.nav__link--dropdown) {
&:hover {