diff --git a/src/css/custom.css b/src/css/custom.css index f2338932..70637ee4 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -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; } }