mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 21:47:10 -04:00
Added media queries to resize attatchments
media queries match other break points and break from a 3 column to 2 to 1
This commit is contained in:
parent
01507576b1
commit
dd1a8ade5e
1 changed files with 21 additions and 0 deletions
|
@ -58,7 +58,28 @@
|
|||
|
||||
.preview-clipboard-image
|
||||
width: 280px
|
||||
max-width: 100%;
|
||||
height: 200px
|
||||
display: block
|
||||
border: 1px solid black
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,.2)
|
||||
|
||||
@media screen and (max-width: 800px)
|
||||
.attachments-galery
|
||||
flex-direction
|
||||
row
|
||||
.attachment-item
|
||||
width: 50% - 2%
|
||||
|
||||
.attachment-thumbnail
|
||||
height: 130px
|
||||
.attachment-details
|
||||
font-size: 1.1em
|
||||
|
||||
@media screen and (max-width: 360px)
|
||||
.attachments-galery
|
||||
.attachment-item
|
||||
width: 100%
|
||||
|
||||
.attachment-thumbnail
|
||||
height: 200px
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue