From d8b42d9b3ff97c3d2e527988dffd51783aa57963 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 23 Aug 2022 16:53:05 +0200 Subject: [PATCH] Use actual icons instead of pseudo elements --- com.woltlab.wcf/templates/__menu.tpl | 3 ++ .../templates/pageHeaderSearch.tpl | 9 +++-- ts/WoltLabSuite/Core/Ui/Search.ts | 3 ++ .../files/acp/templates/pageHeaderSearch.tpl | 4 +-- .../files/js/WoltLabSuite/Core/Ui/Search.js | 3 ++ .../files/style/layout/pageHeader.scss | 33 +------------------ 6 files changed, 18 insertions(+), 37 deletions(-) diff --git a/com.woltlab.wcf/templates/__menu.tpl b/com.woltlab.wcf/templates/__menu.tpl index 5bdd92d00d..0a7af0f291 100644 --- a/com.woltlab.wcf/templates/__menu.tpl +++ b/com.woltlab.wcf/templates/__menu.tpl @@ -9,6 +9,9 @@ {if $menuItemNode->getOutstandingItems() > 0} {#$menuItemNode->getOutstandingItems()} {/if} + {if $menuItemNode->hasChildren()} + {icon size=16 name='caret-down' type='solid'} + {/if} {if $menuItemNode->hasChildren()}
    {else}{/if} diff --git a/com.woltlab.wcf/templates/pageHeaderSearch.tpl b/com.woltlab.wcf/templates/pageHeaderSearch.tpl index 232db6834e..872c572850 100644 --- a/com.woltlab.wcf/templates/pageHeaderSearch.tpl +++ b/com.woltlab.wcf/templates/pageHeaderSearch.tpl @@ -19,15 +19,18 @@ {event name='settings'} -