Handle attachments with height < 320px

This commit is contained in:
arne 2025-11-21 13:47:19 +01:00
commit bddb3b97fa

View file

@ -228,13 +228,18 @@
section.posts .post .attachments { section.posts .post .attachments {
margin-top: 16px; margin-top: 16px;
height: 320px; max-height: 320px;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
max-width: 100%; max-width: 100%;
overflow: auto; overflow: auto;
} }
section.posts .post .attachments img,
section.posts .post .attachments video {
max-height: 320px;
}
section.posts .post .controls { section.posts .post .controls {
margin: 24px 0 0; margin: 24px 0 0;
padding: 0; padding: 0;