Ensure QR code, verified hero are centered

pull/21833/head
J. Ryan Stinnett 2020-01-30 22:43:14 +00:00
parent b98b0fe478
commit 6f6d6b096a
1 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,8 @@ limitations under the License.
.mx_UserInfo { .mx_UserInfo {
.mx_VerificationPanel_verified_section .mx_E2EIcon { .mx_VerificationPanel_verified_section .mx_E2EIcon {
margin: 0 auto; // Override general user info margin
margin: 0 auto !important;
} }
.mx_VerificationPanel_qrCode { .mx_VerificationPanel_qrCode {
@ -25,7 +26,8 @@ limitations under the License.
border-radius: 4px; border-radius: 4px;
width: max-content; width: max-content;
max-width: 100%; max-width: 100%;
margin: 0 auto; // Override general user info margin
margin: 0 auto !important;
canvas { canvas {
// override height and width which are set on the element directly // override height and width which are set on the element directly