Handle attachments with height < 320px
This commit is contained in:
parent
a02c33c620
commit
bddb3b97fa
1 changed files with 6 additions and 1 deletions
|
|
@ -228,13 +228,18 @@
|
|||
|
||||
section.posts .post .attachments {
|
||||
margin-top: 16px;
|
||||
height: 320px;
|
||||
max-height: 320px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
section.posts .post .attachments img,
|
||||
section.posts .post .attachments video {
|
||||
max-height: 320px;
|
||||
}
|
||||
|
||||
section.posts .post .controls {
|
||||
margin: 24px 0 0;
|
||||
padding: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue