Skip to content

Commit

Permalink
fix(modal): fix content css-inheritance on mobile
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
byte916 authored Mar 27, 2020
1 parent 93605f5 commit 3c70f9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -269,7 +269,7 @@
}

/*rtl:ignore*/
.ui.modal .content > .description {
.ui.modal > .content > .description {
display: block;
width: 100% !important;
margin: 0 !important;
Expand Down

0 comments on commit 3c70f9e

Please sign in to comment.