]> git.ardis.lu - sleepy-operators/commitdiff
Add block margin
authorArdis Lu <ardisglu@gmail.com>
Wed, 11 Jan 2023 03:55:12 +0000 (19:55 -0800)
committerArdis Lu <ardisglu@gmail.com>
Wed, 11 Jan 2023 03:55:12 +0000 (19:55 -0800)
Can't put block margin on <body> or else there'll be a vertical scroll

style.css

index 223764485907479410ece56c0a541bd1c42d6407..e17985a987db6273366c3995ba56188728252554 100644 (file)
--- a/style.css
+++ b/style.css
@@ -12,6 +12,7 @@ header {
   align-self: end;
   display: flex;
   align-items: center;
+  margin-block-start: 8px;
 }
 
 h1 {
@@ -20,6 +21,7 @@ h1 {
 
 main {
   align-self: start;
+  margin-block-end: 8px;
 }
 
 p {
This page took 0.038265 seconds and 4 git commands to generate.