From 091b43a9fbb08f25c53a8a69b7957626e081427c Mon Sep 17 00:00:00 2001 From: Thomas Pritchard Date: Wed, 4 Sep 2019 11:24:19 +0100 Subject: [PATCH] Apply figure styles to iOS as well --- iOS/Resources/styleSheet.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/iOS/Resources/styleSheet.css b/iOS/Resources/styleSheet.css index 41bf84199..f46b94deb 100644 --- a/iOS/Resources/styleSheet.css +++ b/iOS/Resources/styleSheet.css @@ -125,9 +125,15 @@ code, pre { pre { white-space: pre-wrap; } -img, video { +img, figure, video { max-width: 100%; height: auto; + margin: 0 auto; +} + +figcaption { + font-size: 14px; + line-height: 1.3em; } /*Block ads and junk*/