From 53e9b3f9f7d8e4f8578f2a9c9ab97e8a368ea3a8 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Thu, 25 Aug 2022 11:58:54 +0200 Subject: [PATCH] Fix CSS variable name typo. --- .../static/admin_interface/css/admin-interface.css | 4 ++-- admin_interface/templates/admin/base_site.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin_interface/static/admin_interface/css/admin-interface.css b/admin_interface/static/admin_interface/css/admin-interface.css index 7480c08..94f5990 100644 --- a/admin_interface/static/admin_interface/css/admin-interface.css +++ b/admin_interface/static/admin_interface/css/admin-interface.css @@ -127,8 +127,8 @@ .admin-interface #branding h1 img.logo, .admin-interface.login #header #branding h1 img.logo { - max-width: var(--admin-interface-log-max-width); - max-height: var(--admin-interface-log-max-height); + max-width: var(--admin-interface-logo-max-width); + max-height: var(--admin-interface-logo-max-height); } .admin-interface #header #user-tools a { diff --git a/admin_interface/templates/admin/base_site.html b/admin_interface/templates/admin/base_site.html index 70515cc..ec134cc 100644 --- a/admin_interface/templates/admin/base_site.html +++ b/admin_interface/templates/admin/base_site.html @@ -44,15 +44,15 @@ {% endif %} {% if theme.logo_max_width > 0 %} - --admin-interface-log-max-width: min({{ theme.logo_max_width }}px, 100%); + --admin-interface-logo-max-width: min({{ theme.logo_max_width }}px, 100%); {% else %} - --admin-interface-log-max-width: 100%; + --admin-interface-logo-max-width: 100%; {% endif %} {% if theme.logo_max_height > 0 %} - --admin-interface-log-max-height: {{ theme.logo_max_height }}px; + --admin-interface-logo-max-height: {{ theme.logo_max_height }}px; {% else %} - --admin-interface-log-max-height: unset; + --admin-interface-logo-max-height: unset; {% endif %} {% if theme.related_modal_rounded_corners %}