From 38139b925bc28cc94761f2d6483a3370faac72fe Mon Sep 17 00:00:00 2001 From: slashformotion Date: Sun, 30 Jan 2022 17:27:55 +0100 Subject: [PATCH] fix(style): code block width in list is now 100% Fix #48 --- assets/scss/components/code-highlight.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/scss/components/code-highlight.scss b/assets/scss/components/code-highlight.scss index 970e738..c0f2a27 100644 --- a/assets/scss/components/code-highlight.scss +++ b/assets/scss/components/code-highlight.scss @@ -57,3 +57,8 @@ $ht-code-border-radius: .4em; display: block; font-size: 1rem; } + +// fix #48 => https://github.com/slashformotion/hugo-tufte/issues/48 +ul>li>div.highlight { + width: 100%; +} \ No newline at end of file