From 9cff67f1616f810d9931fbe04167835c925372c1 Mon Sep 17 00:00:00 2001 From: skydread1 Date: Fri, 4 Aug 2023 19:36:26 +0800 Subject: [PATCH] Fix overflow for long words --- resources/public/css/highlight.css | 3 +++ resources/public/css/style.css | 1 + 2 files changed, 4 insertions(+) diff --git a/resources/public/css/highlight.css b/resources/public/css/highlight.css index 89572966..c4d75974 100644 --- a/resources/public/css/highlight.css +++ b/resources/public/css/highlight.css @@ -7,6 +7,9 @@ pre code.hljs { display: block; overflow-x: auto; padding: 1rem; + border-style: groove; + border-width: 1px; + border-color: var(--button-primary-color); } code.hljs { diff --git a/resources/public/css/style.css b/resources/public/css/style.css index 90eab068..edff143e 100644 --- a/resources/public/css/style.css +++ b/resources/public/css/style.css @@ -431,6 +431,7 @@ footer p { section .post { padding: 2.5rem; + overflow-wrap: break-word; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: var(--border-primary-color);