diff --git a/Web/Presenters/templates/components/post/microblogpost.xml b/Web/Presenters/templates/components/post/microblogpost.xml index 60cc9e6d..c06e54e9 100644 --- a/Web/Presenters/templates/components/post/microblogpost.xml +++ b/Web/Presenters/templates/components/post/microblogpost.xml @@ -7,7 +7,7 @@ -
+ {_online} diff --git a/Web/static/css/style.css b/Web/static/css/style.css index 17b63ad1..e4d152d1 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -629,7 +629,23 @@ h4 { } .post-content .attachments_b { - margin-top: 8px; + margin-top: 8px; + display: grid; + grid-gap: 2px; + height: 100%; + max-height: 300px; + overflow: hidden; +} + +.post-content .attachments_b > div { + min-width: 0; + min-height: 0; +} + +.post-content .attachments_b > div a img { + height: 100%; + object-fit: cover; + width: 100%; } .attachment .post {