aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2024-10-14 06:52:31 +0000
committerr <r@freesoftwareextremist.com>2024-10-14 06:52:31 +0000
commit14d5eaf6e9aa3c74049a54a3ef95e71158fd4942 (patch)
treed7f7253a37924aa6447d7e64cb79a35b0cf30351 /static
parent51d6ff26fe224444b921b5b1f367f15782cf84d3 (diff)
downloadbloat-14d5eaf6e9aa3c74049a54a3ef95e71158fd4942.tar.gz
bloat-14d5eaf6e9aa3c74049a54a3ef95e71158fd4942.zip
Don't force auto height/width on "inline" images
This fixes the size of mikuphile emojis.
Diffstat (limited to 'static')
-rw-r--r--static/style.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index 985ef5c..3e3eb4a 100644
--- a/static/style.css
+++ b/static/style.css
@@ -77,14 +77,22 @@ body,
margin: 0px;
}
-.status-content img,
.status-image,
.status-video {
height: auto;
width: auto;
+ vertical-align: bottom;
+}
+
+.status-content img {
+ vertical-align: middle;
+}
+
+.status-content img,
+.status-image,
+.status-video {
max-height: 240px;
max-width: 280px;
- vertical-align: bottom;
object-fit: contain;
}