diff --git a/public/index.html b/public/index.html
index 5742287..b07109c 100644
--- a/public/index.html
+++ b/public/index.html
@@ -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;