From eddd78f0758352aef0c71c5f2e4e1e67f489a03a Mon Sep 17 00:00:00 2001 From: jk Date: Sun, 21 Feb 2021 20:17:02 +0000 Subject: [PATCH] hopefully showing images in replies --- themes/nipponalba/layouts/partials/webmention.html | 2 +- themes/nipponalba/static/css/style.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/nipponalba/layouts/partials/webmention.html b/themes/nipponalba/layouts/partials/webmention.html index 91f5acc4..9005a693 100644 --- a/themes/nipponalba/layouts/partials/webmention.html +++ b/themes/nipponalba/layouts/partials/webmention.html @@ -17,7 +17,7 @@

{{ .content.text | safeHTML }}

{{ end }} {{ if .photo }}{{ range .photo }} -

+ {{ end }}{{ end }} {{ end }} diff --git a/themes/nipponalba/static/css/style.css b/themes/nipponalba/static/css/style.css index d0752001..92bf46e0 100644 --- a/themes/nipponalba/static/css/style.css +++ b/themes/nipponalba/static/css/style.css @@ -721,6 +721,11 @@ hr { #response p{ margin:0; } +.reply-img{ + max-width:90%; + display:block; + border-radius: 15px; +} time{ font-size:13px; }