From 693b33528fbf28ba953ac7042cb3345f0717d53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 11 Jun 2018 23:29:00 +0200 Subject: [PATCH] Use auto width and some marge for large modal on medium screen issue7504 review48461003 --- src/sao.less | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/sao.less b/src/sao.less index 2f61c13685..2f64540ce1 100644 --- a/src/sao.less +++ b/src/sao.less @@ -78,17 +78,19 @@ } .modal-lg { - width: 100%; - height: 100%; - margin: 0; - padding: 0; - & .modal-content { height: auto; border-radius: 0; } } +@media screen and (min-width: @screen-sm-min) { + .modal-dialog.modal-lg { + width: auto; + margin: 30px; + } +} + input[type='color'] { & .btn { height: @line-height-base;