Skip to content

Commit

Permalink
Исправление css диалога личных сообщений
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzegit committed Dec 29, 2024
1 parent 866d386 commit 2243341
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/modern/controllers/messages/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions templates/modern/scss/controllers/messages/_messages.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.icms-messages {
&.modal-messages {
margin: -$modal-inner-padding !important;
background-color: $white;
}
height: calc(100vh - #{$modal-dialog-margin * 2} - #{$modal-header-padding-y * 2} - #{$modal-title-line-height * $h4-font-size});
Expand Down Expand Up @@ -80,7 +79,7 @@
@include media-breakpoint-up(sm) {
.icms-messages {
&.modal-messages {

margin: -$modal-inner-padding !important;
}
height: calc(100vh - #{$modal-dialog-margin-y-sm-up * 2} - #{$modal-header-padding-y * 2} - #{$modal-title-line-height * $h4-font-size});
}
Expand All @@ -92,15 +91,21 @@
}
}
.modal-dialog-icms-messages {
.modal-body {
height: 100%;
padding: 0;
}
.modal-header {
display: none;
}
.modal-content {
border: none;
border-radius: 0;
height: inherit;
}
margin: 0;
width: 100%;
height: 100%;
}
}
.bg-gray {
Expand Down

0 comments on commit 2243341

Please sign in to comment.