summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.styl
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards/minicard.styl')
-rw-r--r--client/components/cards/minicard.styl13
1 files changed, 4 insertions, 9 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index c854b1f5..4864a1bb 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -60,16 +60,11 @@
user-select: none
margin: -6px -8px 6px -8px
border-radius: top 2px
+ position: relative
- &.no-preview-size
- background-size: auto
- background-position: center
-
- .minicard-dropzone
- display: none
-
- .minicard.drophover .minicard-dropzone
- background: rgba(255, 255, 255, .8)
+ img
+ height: 100%
+ width: 100%
.minicard-title
display: block