Skip to content

Commit ae4bf41

Browse files
committed
remove comment
1 parent fa788bd commit ae4bf41

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/docusaurus-theme/css/legacy.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,11 +1989,7 @@ code {
19891989
white-space: pre;
19901990
}
19911991

1992-
/* Inline code must wrap. The rule above forces white-space: pre on all <code>,
1993-
which is correct inside a scrollable <pre> code block but breaks inline code:
1994-
long commands or paths (e.g. `echo ${ZITI_CTRL_EDGE_ADVERTISED_ADDRESS}`) can't
1995-
scroll, so they push the page wider than the viewport and create horizontal
1996-
overflow on mobile. Re-enable wrapping for code that isn't inside a <pre>. */
1992+
/* Inline code must wrap; the rule above forces white-space: pre, which overflows the page on mobile. */
19971993
:not(pre) > code {
19981994
white-space: normal;
19991995
overflow-wrap: anywhere;

0 commit comments

Comments
 (0)