don't force height if the height can't change (no children edge)

This commit is contained in:
Michael Telatynski 2021-07-21 10:39:04 +01:00
parent bc87dc3c56
commit 880dc26847
2 changed files with 16 additions and 9 deletions

View file

@ -24,11 +24,14 @@ limitations under the License.
.mx_LeaveSpaceDialog {
width: 440px;
height: 500px;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
&.mx_LeaveSpaceDialog_hasChildren {
height: 500px;
}
.mx_Dialog_content {
flex-grow: 1;
margin: 0 0 24px;