Skip to content

Commit 9cd203d

Browse files
committed
Hide version label and navbar keyboard on mobile
1 parent b65a97d commit 9cd203d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

great_docs/assets/great-docs.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,6 +1842,13 @@ div.sourceCode:hover > .gd-code-nav .gd-code-copy,
18421842
flex-shrink: 0;
18431843
}
18441844

1845+
/* Compact version selector on mobile — hide version label, show icon only */
1846+
@media (max-width: 991.98px) {
1847+
.gd-vs-label {
1848+
display: none;
1849+
}
1850+
}
1851+
18451852
/* Version warning banner */
18461853
.gd-version-banner {
18471854
padding: 10px 20px;
@@ -2532,6 +2539,7 @@ h1.title.cli-title {
25322539

25332540
/* Hide on mobile — keyboard shortcuts are desktop-only */
25342541
@media (max-width: 991.98px) {
2542+
#gd-navbar-widgets > #gd-keyboard-btn-container,
25352543
#gd-keyboard-btn-container {
25362544
display: none;
25372545
}

0 commit comments

Comments
 (0)