From 6f6d6b096a0e752f0ad649d70cd541008334c634 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 30 Jan 2020 22:43:14 +0000 Subject: [PATCH] Ensure QR code, verified hero are centered --- res/css/views/right_panel/_VerificationPanel.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/res/css/views/right_panel/_VerificationPanel.scss b/res/css/views/right_panel/_VerificationPanel.scss index 75b469cef9..827f2a2c49 100644 --- a/res/css/views/right_panel/_VerificationPanel.scss +++ b/res/css/views/right_panel/_VerificationPanel.scss @@ -16,7 +16,8 @@ limitations under the License. .mx_UserInfo { .mx_VerificationPanel_verified_section .mx_E2EIcon { - margin: 0 auto; + // Override general user info margin + margin: 0 auto !important; } .mx_VerificationPanel_qrCode { @@ -25,7 +26,8 @@ limitations under the License. border-radius: 4px; width: max-content; max-width: 100%; - margin: 0 auto; + // Override general user info margin + margin: 0 auto !important; canvas { // override height and width which are set on the element directly