forked from AkkomaGang/akkoma-fe
Adjust margins for attachments/previews
This commit is contained in:
parent
5b7b1dfebc
commit
aaa5f1a638
2 changed files with 4 additions and 1 deletions
|
@ -27,12 +27,15 @@
|
||||||
align-content: stretch;
|
align-content: stretch;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
|
margin-bottom: 0.25em;
|
||||||
|
|
||||||
.attachments, .attachment {
|
.attachments, .attachment {
|
||||||
margin: 0 0.5em 0 0;
|
margin: 0 0.5em 0 0;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
// to make failed images a bit more noticeable on chromium
|
||||||
|
min-width: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-attachment {
|
.image-attachment {
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
// TODO: clean up the random margins in attachments, this makes preview line
|
// TODO: clean up the random margins in attachments, this makes preview line
|
||||||
// up with attachments...
|
// up with attachments...
|
||||||
margin-right: 0.7em;
|
margin-right: 0.5em;
|
||||||
|
|
||||||
.card-image {
|
.card-image {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
Loading…
Reference in a new issue