]> git.ardis.lu - google-forms-frontend/commitdiff
Add minimum margin for small displays
authorArdis Lu <ardisglu@gmail.com>
Thu, 6 Oct 2022 05:48:16 +0000 (22:48 -0700)
committerArdis Lu <ardisglu@gmail.com>
Thu, 6 Oct 2022 05:48:16 +0000 (22:48 -0700)
index.html

index 556e036eb179dc39f2d53075413314b4b252448c..65ebc07a9ddee5a4dad376cd07d5162c7f99f860 100644 (file)
@@ -22,8 +22,8 @@
     }
 
     main {
-      max-width: 720px;
-      margin: 0 auto;
+      inline-size: min(100% - 16px, 720px);
+      margin-inline: auto;
     }
 
     form {
This page took 0.035598 seconds and 4 git commands to generate.