From 0042e5bce974de3866e36ccbf96c2e4bd7aefe81 Mon Sep 17 00:00:00 2001 From: danix Date: Sun, 19 Feb 2023 09:38:36 +0100 Subject: [PATCH] Added dropcap shortcode and fixed display of code blocks modified: assets/sass/base/_typography.scss layouts/shortcodes/dropcap.html --- assets/sass/base/_typography.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/sass/base/_typography.scss b/assets/sass/base/_typography.scss index b615f44..94ca410 100644 --- a/assets/sass/base/_typography.scss +++ b/assets/sass/base/_typography.scss @@ -176,3 +176,9 @@ .hidden { @include hide-visually; } + + // large code blocks are wrapped in the highlight shortcode + .highlight { + max-width: 100%; + overflow-x: auto; + } \ No newline at end of file -- 2.20.1