From 1087e0d51185a3dbf1d1f732d307c20d77a89050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 26 May 2025 23:04:30 +0300 Subject: [PATCH] add overflow to post content --- data/static/style.css | 2 ++ sass/style.scss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/data/static/style.css b/data/static/style.css index 5f205f6..14138ef 100644 --- a/data/static/style.css +++ b/data/static/style.css @@ -142,6 +142,7 @@ body { margin-right: 25%; display: flex; flex-direction: column; + overflow: hidden; } .post-inner { @@ -157,6 +158,7 @@ pre code { border-bottom-left-radius: 8px; border-left: 10px solid rgb(229.84, 231.92, 227.28); padding: 20px; + overflow: scroll; } .inline-code { diff --git a/sass/style.scss b/sass/style.scss index fe3255e..fd811cf 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -186,6 +186,7 @@ body { margin-right: 25%; display: flex; flex-direction: column; + overflow: hidden; } .post-inner { @@ -201,6 +202,7 @@ pre code { border-bottom-left-radius: 8px; border-left: 10px solid $lighter; padding: 20px; + overflow: scroll; } .inline-code {