From 378b65a0617787813519dde74d6f741f255eff3d Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 2 Jul 2022 00:22:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20the=20`code`=20doesn=E2=80=99t=20wrap=20?= =?UTF-8?q?inside=20the=20prompt=20(#626)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #626 --- _sass/addon/syntax.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/_sass/addon/syntax.scss b/_sass/addon/syntax.scss index d899d0b..cd861b3 100644 --- a/_sass/addon/syntax.scss +++ b/_sass/addon/syntax.scss @@ -110,6 +110,7 @@ code { &.highlighter-rouge { font-size: $code-font-size; padding: 3px 5px; + word-break: break-word; border-radius: 4px; background-color: var(--inline-code-bg); }