]> git.ardis.lu - ardislu.dev/commitdiff
Prevent column blowout on fixed width children
authorArdis Lu <ardisglu@gmail.com>
Tue, 13 Dec 2022 05:14:47 +0000 (21:14 -0800)
committerArdis Lu <ardisglu@gmail.com>
Tue, 13 Dec 2022 05:14:47 +0000 (21:14 -0800)
Minimum size must be explicitly set to 0 to override parent grid auto fitting column widths

style.css

index 07cc80d29ba4435aea56e94c162021f1bbf81eeb..0325102d91d848803c06abeafe0a052cfae741ed 100644 (file)
--- a/style.css
+++ b/style.css
@@ -94,6 +94,10 @@ header a:has(#feed, #pencil, #github) {
   }
 }
 
+main {
+  min-inline-size: 0;
+}
+
 form > button {
   background: transparent;
   border: none;
This page took 0.038028 seconds and 4 git commands to generate.