From 486372e24d0eafd89aef526c8b62daa82d9f3165 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Wed, 26 Aug 2015 09:42:19 +0800 Subject: [PATCH] fix(theme): code not break in list --- _app/assets/themes/curtana/_less/app.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_app/assets/themes/curtana/_less/app.less b/_app/assets/themes/curtana/_less/app.less index 5adf64da9..a7282c2b7 100644 --- a/_app/assets/themes/curtana/_less/app.less +++ b/_app/assets/themes/curtana/_less/app.less @@ -472,9 +472,9 @@ body:hover .latest { } // Only apply word breaking rule for codes in paragraphs - p code { - word-break: break-word; - word-wrap: break-word; + p code, + li code { + word-break: break-all; } pre {