cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

698b2656eee2c13f3b50af62020ee1e33321fe68

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2025-11-15T01:49:11Z

fix margin and padding issue on small screens
 theme/static/styles.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/theme/static/styles.css b/theme/static/styles.css
index 36a2e45..759a1fa 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -13,8 +13,9 @@ body {
     font-family: Menlo, Consolas, Monaco, Adwaita Mono, Liberation Mono, Lucida Console, monospace;
     font-size: 0.9rem;
     line-height: 1.5;
-    margin: 1.5rem auto;
+    margin: 0 auto;
     max-width: 45em;
+    padding: 1.5rem;
 }
 
 a {