From: Marcel Werk Date: Sat, 7 Aug 2021 09:18:22 +0000 (+0200) Subject: Improved acp search X-Git-Tag: 5.5.0_Alpha_1~500 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88bc0119d4ce2b70b6dea02e489aa647dd336dfb;p=GitHub%2FWoltLab%2FWCF.git Improved acp search Closes #3335 --- diff --git a/wcfsetup/install/files/acp/style/layout.scss b/wcfsetup/install/files/acp/style/layout.scss index 7991705467..832599863d 100644 --- a/wcfsetup/install/files/acp/style/layout.scss +++ b/wcfsetup/install/files/acp/style/layout.scss @@ -124,8 +124,12 @@ $wcfAcpSubMenuWidth: 300px; border-width: 0; position: fixed; top: 50px !important; - width: 300px; + width: 500px; + @include screen-xs { + width: 100%; + } + &::before, &::after { display: none; @@ -134,6 +138,11 @@ $wcfAcpSubMenuWidth: 300px; > .dropdownText { color: $wcfContentDimmedText; } + + li > a, + li > span { + max-width: none; + } } diff --git a/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php b/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php index b4da121afe..0d640607b8 100644 --- a/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php +++ b/wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php @@ -41,7 +41,7 @@ class ACPSearchProviderAction extends AbstractDatabaseObjectAction implements IS $data = []; $results = ACPSearchHandler::getInstance()->search( $this->parameters['data']['searchString'], - 10, + 20, (!empty($this->parameters['data']['providerName']) ? $this->parameters['data']['providerName'] : '') );