From 3ef15d64c60d943b64d998449ed0eaa1dee0ac3e Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 1 Aug 2018 13:38:35 +0200 Subject: Fix display of flash messages. Pass full flash to template, and style according to flash name/type. --- public/assets/application.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'public') diff --git a/public/assets/application.css b/public/assets/application.css index 299be36..3063805 100644 --- a/public/assets/application.css +++ b/public/assets/application.css @@ -36,3 +36,16 @@ form { .actions { display: block; } + +.flash { + padding: 0.5em; + border: 1px dashed darkgray; +} + +.error { + background-color: #f74c4c; +} + +.success { + background-color: lightgreen; +} -- cgit v1.2.3