Give attachments a max height

This commit is contained in:
arne 2025-11-19 20:13:28 +01:00
commit a152c942ea

View file

@ -44,7 +44,7 @@
h3 { h3 {
clear: both; clear: both;
font-size: 18px; font-size: 20px;
line-height: 24px; line-height: 24px;
margin-bottom: 6px; margin-bottom: 6px;
} }
@ -52,6 +52,8 @@
img, img,
video { video {
max-width: 100%; max-width: 100%;
max-height: 100%;
width: auto;
height: auto; height: auto;
} }
@ -217,8 +219,12 @@
margin-bottom: 0 margin-bottom: 0
} }
section.posts .post .content + .attachments { section.posts .post .attachments {
margin-top: 18px; margin-top: 16px;
height: 320px;
display: flex;
max-width: 100%;
overflow: auto;
} }
section.posts .post .controls { section.posts .post .controls {