diff --git a/src/assets/stylesheets/modules/article/_layout.scss b/src/assets/stylesheets/modules/article/_layout.scss index c5605160cfc..c11f7c5fc2c 100644 --- a/src/assets/stylesheets/modules/article/_layout.scss +++ b/src/assets/stylesheets/modules/article/_layout.scss @@ -188,7 +188,7 @@ /* * Inline code snippets must not wrap */ - p > code { + p > code, li > code { white-space: nowrap; padding: 2px 4px; } @@ -582,4 +582,4 @@ &.warning .admonition-title:before { content: "\e610"; } -} \ No newline at end of file +}