From 35d891b9b3ce3908b9aa1641e10653e0ef69e86f Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 15 May 2022 12:10:45 +0200 Subject: [PATCH] Set width to 100 for hugo's highlight blocks --- static/src/scss/_code.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/src/scss/_code.scss b/static/src/scss/_code.scss index 29370d5..ef219be 100644 --- a/static/src/scss/_code.scss +++ b/static/src/scss/_code.scss @@ -12,7 +12,14 @@ code { .highlight { margin: 3rem 0 1rem; + + table { + tr td:last-child { + width: 100%; + } + } } + .highlight > div { background: $codeblock-background; }