There was an error while loading. Please reload this page.
1 parent fa788bd commit ae4bf41Copy full SHA for ae4bf41
1 file changed
packages/docusaurus-theme/css/legacy.css
@@ -1989,11 +1989,7 @@ code {
1989
white-space: pre;
1990
}
1991
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>. */
+/* Inline code must wrap; the rule above forces white-space: pre, which overflows the page on mobile. */
1997
:not(pre) > code {
1998
white-space: normal;
1999
overflow-wrap: anywhere;
0 commit comments