Merge branch 'fix/css-margin-adjustments-for-attachments' into 'develop'

Adjust margins for attachments/previews

See merge request pleroma/pleroma-fe!501
This commit is contained in:
Shpuld Shpludson 2019-01-30 19:45:15 +00:00
commit fbe7af3d56
2 changed files with 4 additions and 1 deletions

View file

@ -27,12 +27,15 @@
align-content: stretch;
flex-grow: 1;
margin-top: 0.5em;
margin-bottom: 0.25em;
.attachments, .attachment {
margin: 0 0.5em 0 0;
flex-grow: 1;
height: 100%;
box-sizing: border-box;
// to make failed images a bit more noticeable on chromium
min-width: 2em;
}
.image-attachment {

View file

@ -26,7 +26,7 @@
// TODO: clean up the random margins in attachments, this makes preview line
// up with attachments...
margin-right: 0.7em;
margin-right: 0.5em;
.card-image {
flex-shrink: 0;