From: danix Date: Sun, 19 Feb 2023 08:38:36 +0000 (+0100) Subject: Added dropcap shortcode and fixed display of code blocks X-Git-Url: https://git.danix.xyz/?p=theme-danix.xyz.git;a=commitdiff_plain;h=0042e5bce974de3866e36ccbf96c2e4bd7aefe81 Added dropcap shortcode and fixed display of code blocks modified: assets/sass/base/_typography.scss layouts/shortcodes/dropcap.html --- 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