Reputation: 499
I would like to adjust the height of an existing dialog, but keep scrollabble and background color, currently if I give it height then the background color will only expand at the specified height if scrolling down then the height will be lost.
Here is the code of dialogs height:
@media (min-width: 768px) {
.dialog-layout-modal-body {
max-height: 662px;
}
}
If I give it a background color then it fills in at full screen width, I wouldn't want that.
What is the solution to keep the background color down, but I can adjust the height of the dialog?
Upvotes: 0
Views: 465
Reputation: 304
@media (min-width: 768px) {
.dialog-layout-modal-body { overflow-y: auto;}
}
Hope this will help.
Upvotes: 1