From dd5ed051b9206630da516d6d021baa7e4f41138d Mon Sep 17 00:00:00 2001 From: Kumi Date: Sun, 25 Aug 2024 18:50:00 +0200 Subject: [PATCH] fix(styles): change code block to inline-block display Modified the display property of code blocks from block to inline-block to improve layout consistency and handle overflow-x better. This ensures better alignment with surrounding elements and more predictable rendering behavior. No visible design alterations should occur. --- src/wikimore/static/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wikimore/static/css/style.css b/src/wikimore/static/css/style.css index 2f5782b..5062bc2 100644 --- a/src/wikimore/static/css/style.css +++ b/src/wikimore/static/css/style.css @@ -567,7 +567,7 @@ figure, background-color: #f9f9f9; border: 1px solid #ddd; max-width: 100%; - display: block; + display: inline-block; overflow-x: auto; width: fit-content; }