diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 6faeb59efc04dd..90db2f4bd8a66b 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -165,19 +165,6 @@ em code { line-height: 1.5rem; } -#gtoc > ul > li { - display: inline; - border-right: 1px currentColor solid; - margin-right: .4rem; - padding-right: .4rem; -} - -#gtoc > ul > li:last-child { - border-right: none; - margin-right: 0; - padding-right: 0; -} - li.version-picker { position: relative; } @@ -741,6 +728,21 @@ kbd { outline: var(--brand3) dotted 2px; } +@media only screen and (min-width: 577px) { + #gtoc > ul > li { + display: inline; + border-right: 1px currentColor solid; + margin-right: .4rem; + padding-right: .4rem; + } + + #gtoc > ul > li:last-child { + border-right: none; + margin-right: 0; + padding-right: 0; + } +} + @media only screen and (max-width: 1024px) { #content { overflow: visible;