update header in mobile view (#10160)

This commit is contained in:
Daria Fokina 2025-11-28 13:26:22 +01:00 committed by GitHub
parent 108204c070
commit 0056e81b7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -428,6 +428,19 @@ a:hover {
color: var(--ifm-navbar-link-hover-color, var(--ifm-color-primary)) !important;
}
/* Hide navbar title on mobile/tablet to prevent overlap with search bar */
@media (max-width: 996px) {
.navbar__title {
display: none !important;
}
/* Ensure navbar brand doesn't grow too large */
.navbar__brand {
flex-shrink: 0;
max-width: fit-content;
}
}
/* Remove underline from navbar logo link */
.navbar__logo,
.navbar__brand {