Prevent Invite and DevTools dialogs from being cut off (#8646)

* fix: replace fixed height based styling with flex for invite and dev dialogs
* feat: create flex wrapper class for dialogs
* feat: make invite dialogs use flex layout
* feat: make devtools dialogs use flex layout
This commit is contained in:
Janne Mareike Koschinski
2022-06-02 15:59:40 +02:00
committed by GitHub
parent 4b957b57af
commit a74b9a7083
4 changed files with 53 additions and 33 deletions
+10 -4
View File
@@ -16,18 +16,24 @@ limitations under the License.
.mx_DevtoolsDialog_wrapper {
.mx_Dialog {
height: 100%;
display: flex;
flex-direction: column;
}
.mx_Dialog_fixedWidth {
overflow-y: hidden;
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
max-height: 100%;
.mx_Dialog_buttons button {
margin-bottom: 0;
}
}
}
.mx_DevTools_content {
overflow-y: auto;
height: calc(100% - 124px); // 58px for buttons + 50px for header + 8px margin around
}
.mx_DevTools_RoomStateExplorer_query {