Skip to content

Commit 4c2a443

Browse files
committed
Adapt mobile display
1 parent a6e55e6 commit 4c2a443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def build_html(cards_html: str) -> str:
346346
justify-content: space-between;
347347
}}
348348
349-
.code-block code {{ flex: 1; user-select: all; }}
349+
.code-block code {{ flex: 1; user-select: all; overflow-x: auto; }}
350350
351351
.copy-btn {{
352352
background: none;

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
justify-content: space-between;
160160
}
161161

162-
.code-block code { flex: 1; user-select: all; }
162+
.code-block code { flex: 1; user-select: all; overflow-x: auto; }
163163

164164
.copy-btn {
165165
background: none;

0 commit comments

Comments
 (0)