Browse Source

Use shortcuts to declare padding

jvoisin 1 year ago
parent
commit
67df305ac2
1 changed files with 2 additions and 4 deletions
  1. 2 4
      internal/ui/static/css/common.css

+ 2 - 4
internal/ui/static/css/common.css

@@ -306,8 +306,7 @@ a:hover {
 
     .header li {
         display: inline-block;
-        padding: 0;
-        padding-right: 12px;
+        padding: 0 12px 0 0;
         line-height: normal;
         border: none;
         font-size: 1.0em;
@@ -629,8 +628,7 @@ template {
     color: var(--modal-color);
     background: var(--modal-background);
     box-shadow: var(--modal-box-shadow);
-    padding: 5px;
-    padding-top: 30px;
+    padding: 30px 5px 5px;
 }
 
 #modal-left h3 {