Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 6fdbf9c

Browse files
committed
Fix visual regression of InviteDialog
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 137cea3 commit 6fdbf9c

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

res/css/views/dialogs/_InviteDialog.scss

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,19 @@ limitations under the License.
278278
margin-right: 0;
279279
}
280280

281-
.mx_InviteDialog_content {
282-
.mx_InviteDialog_userSections {
283-
height: calc(100% - 115px); // mx_InviteDialog's height minus some for the upper and lower elements
284-
padding-right: 0;
281+
.mx_InviteDialog_userSections {
282+
height: calc(100% - 115px); // mx_InviteDialog's height minus some for the upper and lower elements
283+
padding-right: 0;
285284

286-
.mx_InviteDialog_section {
287-
padding-bottom: 0;
288-
margin-top: 12px;
289-
}
285+
.mx_InviteDialog_section {
286+
padding-bottom: 0;
287+
margin-top: 12px;
288+
}
289+
}
290+
291+
.mx_InviteDialog_hasFooter {
292+
.mx_InviteDialog_userSections {
293+
height: calc(100% - 175px); // For displaying an invite link on the footer of the dialog
290294
}
291295
}
292296
}

0 commit comments

Comments
 (0)