Skip to content

Commit c52d5a9

Browse files
author
molty3000
committed
fix(docs): wrap install commands on mobile (768px breakpoint)
Same fix as go-vector: .install-box code was white-space: nowrap, overflowing on mobile. Adds responsive override matching existing 768px breakpoint used by .usecase.
1 parent 1c42db1 commit c52d5a9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
}
7878
.install-box .prompt { color: var(--green); font-weight: 600; }
7979
.install-box code { color: var(--text-primary); }
80+
@media (max-width: 768px) {
81+
.install-box { padding: 12px 16px; font-size: 13px; }
82+
.install-box code { white-space: normal; word-break: break-all; overflow-wrap: break-word; }
83+
}
8084

8185
/* Syntax highlighting */
8286
.kw { color: #c084fc; } /* purple */

0 commit comments

Comments
 (0)