Skip to content

Commit 4fcb406

Browse files
Fix the copy button getting merged in text in the code block (#701)
Update design.css
1 parent 32dc51b commit 4fcb406

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/css/design.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@
269269
vertical-align: baseline;
270270
padding: 0 0.2em 0.1em;
271271
border-radius: 0.15em;
272+
white-space: pre-wrap; /* Ensure long lines wrap */
272273
}
273274
.md-typeset .highlight code span,
274275
.md-typeset code,
@@ -729,4 +730,4 @@ i[warning] [class*="moji"] {
729730
padding: 1em;
730731
}
731732
}
732-
/**/
733+
/**/

0 commit comments

Comments
 (0)