From ed6d00fda862d4c560a2e6d556858b694caa82b9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 8 Apr 2023 12:19:53 +0200 Subject: [PATCH] Fix the mismatching icon sizes of the new desktop user panel Fixes #5408 --- wcfsetup/install/files/acp/style/layout.scss | 8 ++++++++ .../files/acp/templates/pageHeaderUser.tpl | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) 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}