add css hacks to make EncryptionPanel look ok in Dialog

for the sas and verified phase
pull/21833/head
Bruno Windels 2020-01-31 17:45:48 +01:00
parent 39fab02fcc
commit d9b7b28e5a
1 changed files with 20 additions and 0 deletions

View File

@ -66,6 +66,26 @@ limitations under the License.
} }
} }
// Special case styling for EncryptionPanel in a Modal dialog
.mx_Dialog {
// fixed with for when showing sas and once verified.
.mx_VerificationShowSas, .mx_VerificationPanel_verified_section {
width: 500px;
}
// EncryptionPanel when verification is done
.mx_VerificationPanel_verified_section {
// center the big shield icon
.mx_E2EIcon {
margin: 0 auto;
}
// right align the "Got it" button
.mx_AccessibleButton {
float: right;
}
}
}
//mx_IncomingSasDialog_startOptions //mx_IncomingSasDialog_startOptions
//mx_IncomingSasDialog_startOption > canvas //mx_IncomingSasDialog_startOption > canvas
//mx_VerificationQREmojiOptions_noQR //mx_VerificationQREmojiOptions_noQR