diff options
| -rw-r--r-- | html.c | 2 | ||||
| -rw-r--r-- | utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -55,7 +55,7 @@ xs_str *replace_shortnames(xs_str *s, xs_list *tag, int ems) | |||
| 55 | tag_list = xs_dup(tag); | 55 | tag_list = xs_dup(tag); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | xs *style = xs_fmt("height: %dem; vertical-align: middle;", ems); | 58 | xs *style = xs_fmt("height: %dem; width: %dem; vertical-align: middle;", ems, ems); |
| 59 | 59 | ||
| 60 | xs_list *p = tag_list; | 60 | xs_list *p = tag_list; |
| 61 | char *v; | 61 | char *v; |
| @@ -49,7 +49,7 @@ static const char *default_css = | |||
| 49 | ".snac-top-user { text-align: center; padding-bottom: 2em }\n" | 49 | ".snac-top-user { text-align: center; padding-bottom: 2em }\n" |
| 50 | ".snac-top-user-name { font-size: 200% }\n" | 50 | ".snac-top-user-name { font-size: 200% }\n" |
| 51 | ".snac-top-user-id { font-size: 150% }\n" | 51 | ".snac-top-user-id { font-size: 150% }\n" |
| 52 | ".snac-avatar { float: left; height: 2.5em; padding: 0.25em }\n" | 52 | ".snac-avatar { float: left; height: 2.5em; width: 2.5em; padding: 0.25em }\n" |
| 53 | ".snac-author { font-size: 90%; text-decoration: none }\n" | 53 | ".snac-author { font-size: 90%; text-decoration: none }\n" |
| 54 | ".snac-author-tag { font-size: 80% }\n" | 54 | ".snac-author-tag { font-size: 80% }\n" |
| 55 | ".snac-pubdate { color: #a0a0a0; font-size: 90% }\n" | 55 | ".snac-pubdate { color: #a0a0a0; font-size: 90% }\n" |