From 3b063348ceae704d5d3b9958bc1d63dc9919ba0c Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Fri, 26 Apr 2019 15:51:35 +0200 Subject: [PATCH] Hide remove icon and show only on attachment hover --- app/assets/stylesheets/steps.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/steps.scss b/app/assets/stylesheets/steps.scss index d8d247e8f..d78c9b539 100644 --- a/app/assets/stylesheets/steps.scss +++ b/app/assets/stylesheets/steps.scss @@ -117,6 +117,10 @@ &:hover { box-shadow: $md-shadow-hover; + + .remove-icon { + display: inline-block; + } } .attachment-thumbnail { @@ -167,6 +171,7 @@ .remove-icon { bottom: 15px; + display: none; position: relative; right: 10px; }