mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
UI: Fix scaling of cover images (Fixes: #548)
This reverts f039923ac1 and fixes #196 in
a different way (adding quotes). So that we can use the css background
properties to scale the cover images.
This commit is contained in:
parent
14e2b3c15f
commit
29e7aeff5d
3 changed files with 3 additions and 8 deletions
|
|
@ -62,16 +62,11 @@
|
|||
.minicard-cover
|
||||
background-position: center
|
||||
background-repeat: no-repeat
|
||||
background-size: cover
|
||||
background-size: contain
|
||||
height: 145px
|
||||
user-select: none
|
||||
margin: -6px -8px 6px -8px
|
||||
border-radius: top 2px
|
||||
position: relative
|
||||
|
||||
img
|
||||
height: 100%
|
||||
width: 100%
|
||||
|
||||
.minicard-labels
|
||||
float: right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue