Improved acp search
authorMarcel Werk <burntime@woltlab.com>
Sat, 7 Aug 2021 09:18:22 +0000 (11:18 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 7 Aug 2021 09:18:22 +0000 (11:18 +0200)
Closes #3335

wcfsetup/install/files/acp/style/layout.scss
wcfsetup/install/files/lib/data/acp/search/provider/ACPSearchProviderAction.class.php

index 799170546718920951a0f89cea1339c062d7c129..832599863d7702887a637fd7e56281fd09539205 100644 (file)
@@ -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;
+       }
 }
 
 
index b4da121afef103d18842dc8c4a2f85640e3ed425..0d640607b8aaa001350b456c092bed4523765f5f 100644 (file)
@@ -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'] : '')
         );