Skip to content

Commit 668725f

Browse files
committed
docs: Mobile-friendly styles
1 parent 7160283 commit 668725f

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/app/globals.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,18 @@ header nav button:not([aria-label="Menu"]) {
241241
align-items: center !important;
242242
}
243243

244+
/* Keep search button visible on mobile */
245+
header.nextra-navbar nav > div.x\:max-md\:hidden:has(button) {
246+
display: flex !important;
247+
}
248+
249+
/* Hide "Get started for free" button on mobile */
250+
@media (max-width: 767px) {
251+
header.nextra-navbar nav a[href*="cubecloud.dev/auth/signup"] {
252+
display: none !important;
253+
}
254+
}
255+
244256
/* Purple Banner wrapper - animated reveal */
245257
.pb-wrapper {
246258
--purple-banner-font: var(--font-cera-pro), system-ui, -apple-system, sans-serif;

0 commit comments

Comments
 (0)