Skip to content

Commit f95fa27

Browse files
robcohenclaude
andcommitted
style: hide nav title text on mobile, keep only logo
Hide the site title text (rustledger, rustfava, etc.) on mobile viewports (max-width: 768px) to save horizontal space. The logo remains visible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 639abfb commit f95fa27

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ body {
224224
======================================== */
225225

226226
@media (max-width: 768px) {
227+
/* Hide site title text on mobile, keep only logo */
228+
.VPNavBarTitle .title {
229+
display: none !important;
230+
}
231+
227232
/* Remove extra top spacing on mobile */
228233
.VPDoc {
229234
margin-top: 0 !important;

pta-standards-docs/.vitepress/theme/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ body {
173173
======================================== */
174174

175175
@media (max-width: 768px) {
176+
/* Hide site title text on mobile, keep only logo */
177+
.VPNavBarTitle .title {
178+
display: none !important;
179+
}
180+
176181
/* Remove extra top spacing on mobile */
177182
.VPDoc {
178183
margin-top: 0 !important;

rustfava-docs/.vitepress/theme/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,11 @@ body {
260260
======================================== */
261261

262262
@media (max-width: 768px) {
263+
/* Hide site title text on mobile, keep only logo */
264+
.VPNavBarTitle .title {
265+
display: none !important;
266+
}
267+
263268
/* Remove extra top spacing on mobile */
264269
.VPDoc {
265270
margin-top: 0 !important;

0 commit comments

Comments
 (0)