summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.styl
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-16 23:32:47 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-16 23:32:47 +0200
commitf039923ac134e4a3cc70a1a7d47c21460676b1c0 (patch)
tree5b73cfb78eddd605b4a27c7e76335d4a3f477a81 /client/components/cards/minicard.styl
parent80a4bdd417f6d11b828ca9a2f09c0d87ae7efe48 (diff)
downloadwekan-f039923ac134e4a3cc70a1a7d47c21460676b1c0.tar.gz
wekan-f039923ac134e4a3cc70a1a7d47c21460676b1c0.tar.bz2
wekan-f039923ac134e4a3cc70a1a7d47c21460676b1c0.zip
Fix #196
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