Skip to content

Commit

Permalink
Fix visual regression of InviteDialog
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed Mar 17, 2022
1 parent 137cea3 commit 6fdbf9c
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions res/css/views/dialogs/_InviteDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,15 +278,19 @@ limitations under the License.
margin-right: 0;
}

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

.mx_InviteDialog_section {
padding-bottom: 0;
margin-top: 12px;
}
.mx_InviteDialog_section {
padding-bottom: 0;
margin-top: 12px;
}
}

.mx_InviteDialog_hasFooter {
.mx_InviteDialog_userSections {
height: calc(100% - 175px); // For displaying an invite link on the footer of the dialog
}
}
}
Expand Down

0 comments on commit 6fdbf9c

Please sign in to comment.