From cd97d0f5d232fec23f6291800a54c8033ecfb943 Mon Sep 17 00:00:00 2001 From: Andrey Orlov Date: Wed, 13 Mar 2024 22:31:29 +0400 Subject: [PATCH] Update _code.scss If the text is very long and does not contain spaces, the block extends beyond the parent container. The maximum width limits the off-screen behavior. --- scss/content/_code.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/scss/content/_code.scss b/scss/content/_code.scss index a16afd07..3895d864 100644 --- a/scss/content/_code.scss +++ b/scss/content/_code.scss @@ -49,6 +49,7 @@ #{$parent-selector} kbd { display: inline-block; padding: 0.375rem; + max-width: 100%; } #{$parent-selector} pre {