From 3c70f9e00ed7afe3a6879416336259d522d24957 Mon Sep 17 00:00:00 2001 From: Andrew Gerasimovich Date: Fri, 27 Mar 2020 19:24:48 +0300 Subject: [PATCH] fix(modal): fix content css-inheritance on mobile Modal module adds padding to ".description" block when window size less 769px. Search blocks can contain ".description" inside. When search block is inside modal, then ".description" inside search breaks down on screen less 769px. --- src/definitions/modules/modal.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/modules/modal.less b/src/definitions/modules/modal.less index 65af5a0843..94c01c0205 100755 --- a/src/definitions/modules/modal.less +++ b/src/definitions/modules/modal.less @@ -256,7 +256,7 @@ .ui.modal .image.content { flex-direction: column; } - .ui.modal .content > .image { + .ui.modal > .content > .image { display: block; max-width: 100%; margin: 0 auto !important; @@ -269,7 +269,7 @@ } /*rtl:ignore*/ - .ui.modal .content > .description { + .ui.modal > .content > .description { display: block; width: 100% !important; margin: 0 !important;