vargaadam
vargaadam

Reputation: 499

I want modify dialog height and maintain the background

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.

enter image description here

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

Answers (1)

Pratiksha Kale
Pratiksha Kale

Reputation: 304

@media (min-width: 768px) {
    .dialog-layout-modal-body { overflow-y: auto;}
}

Hope this will help.

Upvotes: 1

Related Questions