fix api-version hidden issue (#136)

Co-authored-by: Lunny Xiao <lunny@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/docs/pulls/136
Co-authored-by: kerwin612 <kerwin612@noreply.gitea.com>
Co-committed-by: kerwin612 <kerwin612@noreply.gitea.com>
This commit is contained in:
kerwin612
2024-12-27 02:28:31 +00:00
committed by Lunny Xiao
parent 80359e274d
commit 2e4a4281ff

View File

@@ -157,7 +157,7 @@
}
}
}
/* selectors like :first-of-type are for browsers those do not support :has */
/* selectors like :nth-of-type are for browsers those do not support :has */
@supports not (selector(:has(*))) {
.plugin-redoc [class*='searchBox'],
.plugin-pages [class*='searchBox'] {
@@ -165,8 +165,8 @@
}
@media (min-width: 996px) {
.plugin-redoc .navbar__item.dropdown:not(:first-of-type),
.plugin-pages .navbar__item.dropdown:not(:first-of-type) {
.plugin-redoc .navbar__item.dropdown:not(:nth-of-type(4)),
.plugin-pages .navbar__item.dropdown:not(:nth-of-type(4)) {
display: none;
}
}