diff --git a/src/theme/css/general.css b/src/theme/css/general.css index ef2ba504..5c9d4fa0 100644 --- a/src/theme/css/general.css +++ b/src/theme/css/general.css @@ -26,6 +26,11 @@ code { font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */ } +/* make long inline code not x overflow */ +:not(pre) > code { + word-break: break-word; +} + /* Don't change font size in headers. */ h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { font-size: unset;