From a0db54568e0066976566b1c6a4104662b9851843 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 19 Mar 2020 07:51:46 -0500 Subject: [PATCH] Pull in styles that made it into iOS, but were forgotten on Mac. --- Mac/MainWindow/Detail/styleSheet.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Mac/MainWindow/Detail/styleSheet.css b/Mac/MainWindow/Detail/styleSheet.css index 5580ff1b9..2f64566e5 100644 --- a/Mac/MainWindow/Detail/styleSheet.css +++ b/Mac/MainWindow/Detail/styleSheet.css @@ -173,14 +173,20 @@ code, pre { padding: 0; } -video { - width: 100% !important; - height: auto !important; +img, figure, iframe, div { + max-width: 100%; + height: auto !important; margin: 0 auto; } -iframe { - max-width: 100%; +figure { + margin-bottom: 1em; + margin-top: 1em; +} + +video { + width: 100% !important; + height: auto !important; margin: 0 auto; }