From ba6e17b5836b5a9cba72974b2cb0f078b1ada41c Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Wed, 1 Mar 2023 08:29:01 +0100 Subject: fix(theming): logo missing on login page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- core/css/guest.scss | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'core/css/guest.scss') diff --git a/core/css/guest.scss b/core/css/guest.scss index 25c0a6f16ec..f917105d268 100644 --- a/core/css/guest.scss +++ b/core/css/guest.scss @@ -91,17 +91,15 @@ body { #header { .logo { - max-width: 175px; - width: auto; - max-height: 130px; + background-image: var(--image-logo, url('../../core/img/logo/logo.svg')); + background-repeat: no-repeat; + background-size: contain; + background-position: center; + width: 175px; + height: 130px; margin: 0 auto; position: relative; left: unset; - img { - opacity: 0; - max-width: 100%; - max-height: 200px; - } } } -- cgit v1.2.3