mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Improve Nextcloud style and unified search
This commit is contained in:
parent
d6940aad7e
commit
550dfb3459
|
@ -88,6 +88,10 @@ button.btn:not(.button-vue) {
|
|||
white-space: inherit;
|
||||
}
|
||||
|
||||
body > header ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media print {
|
||||
#body-user #header {
|
||||
display: none;
|
||||
|
|
|
@ -55,7 +55,7 @@ class Provider implements IProvider
|
|||
public function search(IUser $user, ISearchQuery $query): SearchResult
|
||||
{
|
||||
$result = [];
|
||||
if (1 < \strlen(\trim($query->getTerm()))) {
|
||||
if (2 > \strlen(\trim($query->getTerm()))) {
|
||||
return SearchResult::complete($this->getName(), $result);
|
||||
}
|
||||
SnappyMailHelper::startApp();
|
||||
|
|
Loading…
Reference in a new issue