Skip to content

Commit 3c70f9e

Browse files
authored
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.
1 parent 93605f5 commit 3c70f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/definitions/modules/modal.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
.ui.modal .image.content {
257257
flex-direction: column;
258258
}
259-
.ui.modal .content > .image {
259+
.ui.modal > .content > .image {
260260
display: block;
261261
max-width: 100%;
262262
margin: 0 auto !important;
@@ -269,7 +269,7 @@
269269
}
270270

271271
/*rtl:ignore*/
272-
.ui.modal .content > .description {
272+
.ui.modal > .content > .description {
273273
display: block;
274274
width: 100% !important;
275275
margin: 0 !important;

0 commit comments

Comments
 (0)