From 6b94fec1ff7c0659bf8980b9b4577d17b91a7423 Mon Sep 17 00:00:00 2001 From: Giorgio Garofalo Date: Sun, 11 Aug 2024 19:46:54 +0200 Subject: [PATCH] Remove max height for code blocks --- core/src/main/resources/render/theme/global.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/resources/render/theme/global.css b/core/src/main/resources/render/theme/global.css index 8b817794..eeddf4e8 100644 --- a/core/src/main/resources/render/theme/global.css +++ b/core/src/main/resources/render/theme/global.css @@ -55,6 +55,10 @@ a { color: var(--qd-link-color); } +pre code { + max-height: none !important; +} + code.focus-lines .hljs-ln-line:not(.focused) { opacity: 0.4; }