mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fix #196
This commit is contained in:
parent
80a4bdd417
commit
f039923ac1
2 changed files with 6 additions and 10 deletions
|
@ -1,7 +1,8 @@
|
|||
template(name="minicard")
|
||||
.minicard
|
||||
if cover
|
||||
.minicard-cover(style="background-image: url({{cover.url}});")
|
||||
.minicard-cover
|
||||
img(src=cover.url)
|
||||
if labels
|
||||
.minicard-labels
|
||||
each labels
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue