From d34d155e5d2eed4e6d0218ac1a425401433b7bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sat, 12 Oct 2024 22:03:52 +0200 Subject: [PATCH] logo: fix migration issues #924 test installations shown an unwanted resize of the logo --- assets/css/theme.css | 10 ++++++---- exampleSite/layouts/partials/logo.html | 4 ++++ layouts/partials/logo.html | 2 +- layouts/partials/version.txt | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/assets/css/theme.css b/assets/css/theme.css index 6e1f241d9b..adab3d39fe 100644 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -2448,21 +2448,23 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right a#R-logo { color: var(--MENU-SECTIONS-BG-color); - font-size: 1.875rem; font-variation-settings: var(--INTERNAL-MAIN-TITLES-H4-font-variation-settings); font-weight: var(--INTERNAL-MAIN-TITLES-H4-font-weight); font-family: var(--INTERNAL-MAIN-TITLES-H4-font); letter-spacing: var(--INTERNAL-MAIN-TITLES-H4-letter-spacing); - max-width: 60%; text-transform: uppercase; - width: 14.125rem; white-space: nowrap; } a#R-logo:hover { color: var(--MENU-SECTIONS-BG-color); } + +/* those sizes are for the default logo */ +a#R-logo.R-default { + font-size: 1.875rem; +} @media only all and (max-width: 59.999rem) { - a#R-logo { + a#R-logo.R-default { font-size: 1.5625rem; } } diff --git a/exampleSite/layouts/partials/logo.html b/exampleSite/layouts/partials/logo.html index 64c58267f1..1eb738bbe0 100644 --- a/exampleSite/layouts/partials/logo.html +++ b/exampleSite/layouts/partials/logo.html @@ -1,9 +1,13 @@