From 74edba335a60e165dc602ddbd5a9df611881b871 Mon Sep 17 00:00:00 2001 From: Brad Gessler Date: Tue, 30 Jan 2024 11:10:29 -0800 Subject: [PATCH] Remove excessive top h1 margins --- assets/application.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/application.css b/assets/application.css index d916eb6..a7efbc7 100644 --- a/assets/application.css +++ b/assets/application.css @@ -90,7 +90,7 @@ select { .flow h1 { font-size: var(--size-7xl); - margin-top: 5em; + margin-top: 2em; } h2 { @@ -131,6 +131,7 @@ code { text-decoration: none; border-radius: 3px; border: 1px solid var(--color-border); + word-break: break-all; } .highlight { @@ -142,6 +143,7 @@ code { position: relative; border-radius: 5px; white-space: pre-wrap; + overflow: scroll; font-size: 0.85em; } @@ -228,7 +230,7 @@ body { main { margin: auto; - max-width: 50rem; + max-width: 40rem; padding: 1.5rem; }