diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-10-18 10:49:01 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-10-18 10:49:01 -0500 |
| commit | 58e71a26e197dba39f6dca7a449a10bfab7993d4 (patch) | |
| tree | 523a1569cc7e97ecea38d8b95c78d0afadc77496 | |
| parent | 9c558bc643d9dab2b083fa1301439eb0f6dc86e7 (diff) | |
add padding to <main>main
recent change removed the padding on <main>, so on small screen
widths there was no space between content and the edge.
previously <main> relied on its parent's padding, but now that
it's removed, must be added to the element itself.
| -rw-r--r-- | style.css | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ body { } main { margin: 0 auto; + padding: 0.5rem 1rem; max-width: 650px; } body > header { |
