From 10e795ec72538ef7bb50e299c631717353122031 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 18 Mar 2016 10:47:44 +0000 Subject: Make sure preview image doesn't hide error. --- web/cobrands/sass/_dropzone.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/cobrands/sass/_dropzone.scss b/web/cobrands/sass/_dropzone.scss index 90e53584d..8c482d0cf 100644 --- a/web/cobrands/sass/_dropzone.scss +++ b/web/cobrands/sass/_dropzone.scss @@ -120,6 +120,11 @@ $dropzone-background-color--full: mix($dropzone-border-color--full, $dropzone-ba } } +// If there was an error, we don't want to display the preview image on top of it. +.dz-error .dz-image { + display: none; +} + .dz-progress { position: absolute; top: 0; @@ -148,6 +153,7 @@ $dropzone-background-color--full: mix($dropzone-border-color--full, $dropzone-ba .dz-error-message { color: #881111; + padding-top: 1.5em; } .dz-remove, -- cgit v1.2.3