From cf65c944b376d3b413c2e50a248897c953578b0a Mon Sep 17 00:00:00 2001 From: Dmitry <88618532+DrupalDoesNotExists@users.noreply.github.com> Date: Sun, 8 Jan 2023 21:58:06 +0300 Subject: [PATCH] FIX: Remove black bg from code, fix pre overflow Remove awful black background when using code syntax. Fix some "pre" content that overflows it's parent without creating scroll bar. --- assets/css/main.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 2e17523..d9aa58e 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -62,6 +62,7 @@ hr { pre { background: black; padding: 1em; + overflow-x: auto; /* Fix pre content overflowing parent without scroll bar */ } table { width: 100%; } @@ -74,7 +75,7 @@ table, th, td { code { color: white; - background: black; +/*background: black; <-- Remove awful black background for code text*/ font-size: 80%; padding: 0.1em 0.2em; font-size: 90%;