adjust gallery/attachments

This commit is contained in:
shpuld 2019-02-25 18:15:13 +02:00
parent 45ee170221
commit 52ffb8b219
2 changed files with 5 additions and 2 deletions

View File

@ -88,7 +88,7 @@
.attachment {
position: relative;
// margin: 0.5em 0.5em 0em 0em;
margin-top: 0.5em;
align-self: flex-start;
line-height: 0;

View File

@ -30,12 +30,15 @@
margin-bottom: 0.25em;
.attachments, .attachment {
// margin: 0 0.5em 0 0;
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;
&:last-child {
margin: 0;
}
}
.image-attachment {