Improve styling of flash messages on the front page
authorTom Hughes <tom@compton.nu>
Fri, 10 Mar 2017 16:46:29 +0000 (16:46 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 10 Mar 2017 16:46:29 +0000 (16:46 +0000)
app/assets/stylesheets/common.scss

index f7c6e74ad88c97b05f1af6109b93ed24b07ed348..121e0c6d63cb6eb50b4898d282b4b3249309403f 100644 (file)
@@ -591,6 +591,18 @@ body.compact {
       float: right;
       cursor: pointer;
     }
+
+    .flash {
+      padding: 15px;
+
+      picture {
+        margin-right: -25px;
+      }
+
+      div.message {
+        margin-left: 30px;
+      }
+    }
   }
 
   .overlay-sidebar #sidebar {