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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user