summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public
diff options
context:
space:
mode:
Diffstat (limited to 'clams-server/src/main/resources/public')
-rw-r--r--clams-server/src/main/resources/public/css/post.css14
1 files changed, 5 insertions, 9 deletions
diff --git a/clams-server/src/main/resources/public/css/post.css b/clams-server/src/main/resources/public/css/post.css
index e905cbc..8c4b91d 100644
--- a/clams-server/src/main/resources/public/css/post.css
+++ b/clams-server/src/main/resources/public/css/post.css
@@ -17,22 +17,18 @@
margin-bottom: 1.5rem;
}
-.post-image {
+.post-content p:has(img) {
margin: 40px 0;
text-align: center;
}
-.post-image img {
- max-width: 100%;
+.post-content img {
+ width: 100%;
+ max-width: 550px;
height: auto;
border: 1px solid var(--border-color);
border-radius: 8px;
-}
-
-.post-image figcaption {
- margin-top: 10px;
- font-size: 0.85rem;
- opacity: 0.7;
+ display: inline-block;
}
.post-nav {