Merge pull request #4257 from crazyserver/MOBILE-4653

MOBILE-4653 site-logo: Style fixes on site logo
main
Dani Palou 2024-12-10 12:24:44 +01:00 committed by GitHub
commit e70249ea83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -3,11 +3,6 @@
} }
.core-logo-container { .core-logo-container {
margin-bottom: var(--core-site-logo-margin-bottom, 0px);
}
img.core-logo {
max-height: var(--core-site-logo-max-height);
max-width: var(--core-site-logo-max-width, 100%); max-width: var(--core-site-logo-max-width, 100%);
@ -15,6 +10,10 @@ img.core-logo {
margin: var(--core-site-logo-margin, 0px); margin: var(--core-site-logo-margin, 0px);
} }
img.core-logo {
max-height: var(--core-site-logo-max-height);
}
.core-logo-sitename { .core-logo-sitename {
display: var(--core-site-logo-sitename-display, block); display: var(--core-site-logo-sitename-display, block);
font: var(--core-site-logo-sitename-font); font: var(--core-site-logo-sitename-font);

View File

@ -23,7 +23,7 @@
} }
core-site-logo { core-site-logo {
--core-site-logo-margin-bottom: 8px; --core-site-logo-margin: 0px auto 8px auto;
--core-site-logo-max-height: var(--core-user-menu-site-logo-max-height); --core-site-logo-max-height: var(--core-user-menu-site-logo-max-height);
--core-site-logo-sitename-font: var(--mdl-typography-subtitle-font-lg); --core-site-logo-sitename-font: var(--mdl-typography-subtitle-font-lg);