diff --git a/public/index.html b/public/index.html
index 6b65e05..4ac0008 100644
--- a/public/index.html
+++ b/public/index.html
@@ -121,6 +121,10 @@
margin-bottom: 0
}
+ section.posts .post .content + .attachments {
+ margin-top: 18px;
+ }
+
section.posts .post .controls {
margin: 24px 0 0;
padding: 0;
diff --git a/src/computersandblues/lodestone/app.cljs b/src/computersandblues/lodestone/app.cljs
index 8234e39..d83198f 100644
--- a/src/computersandblues/lodestone/app.cljs
+++ b/src/computersandblues/lodestone/app.cljs
@@ -321,12 +321,12 @@
" (mentioning " [list-accounts (:mentions post)] ")"])]
[:section.post-info
[:time.date {:datetime (:created_at post)} (first (str/split (:created_at post) "T"))]]]
- [:section.content {:dangerouslySetInnerHTML (r/unsafe-html (:content post))}
- (when (seq (:media_attachments post))
- [:section.attachments
- (map-indexed (fn [idx item]
- ^{:key idx} [attachment {:attachment item}])
- (:media_attachments post))])]
+ [:section.content {:dangerouslySetInnerHTML (r/unsafe-html (:content post))}]
+ (when (seq (:media_attachments post))
+ [:section.attachments
+ (map-indexed (fn [idx item]
+ ^{:key idx} [attachment {:attachment item}])
+ (:media_attachments post))])
[:nav
[:ul.controls
[:li.control-element.url