.ui-dialog:has(.webforms-total-popup) { max-height: fit-content !important; } .ui-dialog:has(.webforms-total-popup) { max-height: fit-content !important; }