From dcbf9ade39c09c1a80db5a26208299dc3f8c544d Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Thu, 24 Sep 2026 09:33:29 -0700 Subject: [PATCH] reorder main.css a smidge --- css/main.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/css/main.css b/css/main.css index 0b75e82..17795d7 100644 --- a/css/main.css +++ b/css/main.css @@ -3,6 +3,10 @@ } /* numbered components are from https://www.joshwcomeau.com/css/custom-css-reset/ */ +#root, #__next { + isolation: isolate; /* 10. Create a root stacking context */ +} + *, *::before, *::after { box-sizing: border-box; /* 1. Use a more-intuitive box-sizing model */ } @@ -32,18 +36,14 @@ input, button, textarea, select { font: inherit; /* 7. Inherit fonts for form controls */ } -p, h1, h2, h3, h4, h5, h6 { +h1, h2, h3, h4, h5, h6, p { overflow-wrap: break-word; /* 8. Avoid text overflows */ } -p { - text-wrap: pretty; /* 9. Improve line wrapping */ -} - h1, h2, h3, h4, h5, h6 { text-wrap: balance; /* 9. Improve line wrapping */ } -#root, #__next { - isolation: isolate; /* 10. Create a root stacking context */ +p { + text-wrap: pretty; /* 9. Improve line wrapping */ }