Hide remove icon and show only on attachment hover

This commit is contained in:
Urban Rotnik 2019-04-26 15:51:35 +02:00
parent 090df87f48
commit 3b063348ce

View file

@ -117,6 +117,10 @@
&:hover { &:hover {
box-shadow: $md-shadow-hover; box-shadow: $md-shadow-hover;
.remove-icon {
display: inline-block;
}
} }
.attachment-thumbnail { .attachment-thumbnail {
@ -167,6 +171,7 @@
.remove-icon { .remove-icon {
bottom: 15px; bottom: 15px;
display: none;
position: relative; position: relative;
right: 10px; right: 10px;
} }