From e46a1be5d749b7e9c1c2122c76b2e76a640342fc Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 26 Aug 2018 22:00:57 +0200 Subject: [PATCH] Center svg in markdown --- src/panels/profile/ha-mfa-module-setup-flow.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/panels/profile/ha-mfa-module-setup-flow.js b/src/panels/profile/ha-mfa-module-setup-flow.js index e03066c093..2ca06b798d 100644 --- a/src/panels/profile/ha-mfa-module-setup-flow.js +++ b/src/panels/profile/ha-mfa-module-setup-flow.js @@ -29,10 +29,14 @@ class HaMfaModuleSetupFlow extends paper-dialog { max-width: 500px; } - ha-markdown img:first-child:last-child { + ha-markdown img:first-child:last-child, + ha-markdown svg:first-child:last-child { display: block; margin: 0 auto; } + ha-markdown a { + color: var(--primary-color); + } .init-spinner { padding: 10px 100px 34px; text-align: center;