summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2024-05-09 06:04:56 +0000
committergrunfink <grunfink@noreply.codeberg.org>2024-05-09 06:04:56 +0000
commitbbb99b3453570c458543e3bb66a576cdcb95ae18 (patch)
tree36cbad81c61f7c558318871c4178f65a6d24f178 /html.c
parent5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6 (diff)
parentc17a225ce2f4042b084aa83652aefbacbe03f72c (diff)
Merge pull request 'Set avatars and custom emoji as square (fixes display in Dillo)' (#166) from kvibber/snac2:style-tweaks-on-2.52 into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/166
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 42996e6..4109929 100644
--- a/html.c
+++ b/html.c
@@ -55,7 +55,7 @@ xs_str *replace_shortnames(xs_str *s, xs_list *tag, int ems)
tag_list = xs_dup(tag);
}
- xs *style = xs_fmt("height: %dem; vertical-align: middle;", ems);
+ xs *style = xs_fmt("height: %dem; width: %dem; vertical-align: middle;", ems, ems);
xs_list *p = tag_list;
char *v;