From 5ed60a0ad773b53e096ae2356bc42d8dcd8a0ee9 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 12 Oct 2017 16:45:43 +0200 Subject: [PATCH] Fix image ratio in slides --- www/slide/app-slide.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/slide/app-slide.less b/www/slide/app-slide.less index c6ce3addf..459e75b68 100644 --- a/www/slide/app-slide.less +++ b/www/slide/app-slide.less @@ -277,11 +277,13 @@ div#cp-app-slide-modal #cp-app-slide-modal-content, #cp-app-slide-print { // fixes image overflowing media-tag { height: 100%; + flex-flow: row; + justify-content: center; & + * { margin-top: 1rem; } - img { margin: unset; } + img { flex: unset; } } img {