From d09f5b70c72a38eed4c224fb192e9c757d0f32f0 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 11 Jul 2017 17:39:26 +0200 Subject: [PATCH] Fix slides CSS --- www/slide/slide.less | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/www/slide/slide.less b/www/slide/slide.less index 5ea2fae21..3fcf134b8 100644 --- a/www/slide/slide.less +++ b/www/slide/slide.less @@ -279,7 +279,7 @@ div#modal #content, #print { * { .size(2.75); * { - font-size: 100%; + font-size: 1em; line-height: 1em; } } @@ -396,23 +396,26 @@ div#modal #content, #print { } p { - display: flex; - flex-flow: row wrap; - padding: 0; - margin: 0; - min-height:0; - flex: 1; + //display: flex; + //flex-flow: row wrap; + padding: 0; + margin: 0; + min-height:0; + min-width:0; + //flex: 1; } media-tag { - min-height: 0; - flex: 1; - display: block; - text-align: center; + min-height: 0; + flex: 1; + display: flex; + flex-flow: column; + text-align: center; } media-tag img { - max-height: 100% !important; + flex: 1; + max-height: 100% !important; } media-tag iframe {