]> git.ardis.lu - 991337.xyz/commitdiff
Use px for fixed positioning
authorArdis Lu <ardisglu@gmail.com>
Fri, 10 Feb 2023 05:03:16 +0000 (21:03 -0800)
committerArdis Lu <ardisglu@gmail.com>
Fri, 10 Feb 2023 05:03:16 +0000 (21:03 -0800)
Doesn't make sense to scale margins with text size

index.html

index 72224008e89f86a40c11accc783ba7523ef5b96c..8b05e0b3afe9211331ded5835f9d6d26ae60cbe7 100644 (file)
@@ -23,8 +23,8 @@
 
     div {
       position: fixed;
-      inset-block-start: 1rem;
-      inset-inline-end: 1rem;
+      inset-block-start: 16px;
+      inset-inline-end: 16px;
     }
   </style>
   <title>991337.xyz</title>
This page took 0.038477 seconds and 4 git commands to generate.