From: Alexander Ebert Date: Sat, 8 Apr 2023 10:19:53 +0000 (+0200) Subject: Fix the mismatching icon sizes of the new desktop user panel X-Git-Tag: 6.0.0_Alpha_1~273 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed6d00fda862d4c560a2e6d556858b694caa82b9;p=GitHub%2FWoltLab%2FWCF.git Fix the mismatching icon sizes of the new desktop user panel Fixes #5408 --- diff --git a/wcfsetup/install/files/acp/style/layout.scss b/wcfsetup/install/files/acp/style/layout.scss index 28effcaa8d..d1529d3df4 100644 --- a/wcfsetup/install/files/acp/style/layout.scss +++ b/wcfsetup/install/files/acp/style/layout.scss @@ -181,10 +181,18 @@ html[data-color-scheme="dark"] { .userPanel .boxFlag { font-size: 12px; } + + .pageHeaderPanel fa-icon[size="32"] { + display: none; + } } @include screen-md-down { max-width: 100vw; + + .pageHeaderPanel fa-icon[size="16"] { + display: none; + } } } diff --git a/wcfsetup/install/files/acp/templates/pageHeaderUser.tpl b/wcfsetup/install/files/acp/templates/pageHeaderUser.tpl index b0bd18e4da..4163fe39ac 100644 --- a/wcfsetup/install/files/acp/templates/pageHeaderUser.tpl +++ b/wcfsetup/install/files/acp/templates/pageHeaderUser.tpl @@ -10,18 +10,28 @@
  • - {icon size=16 name='house'} + + {icon size=16 name='house'} + {icon size=32 name='house'} +
  • {if $__wcf->session->getPermission('admin.configuration.package.canUpdatePackage') && $__wcf->getAvailableUpdates()}
  • - {icon size=16 name='arrows-rotate'} {#$__wcf->getAvailableUpdates()} + + {icon size=16 name='arrows-rotate'} + {icon size=32 name='arrows-rotate'} + {#$__wcf->getAvailableUpdates()} +
  • {/if} {/if}