mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45: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;
|
white-space: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body > header ul {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
#body-user #header {
|
#body-user #header {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -55,7 +55,7 @@ class Provider implements IProvider
|
||||||
public function search(IUser $user, ISearchQuery $query): SearchResult
|
public function search(IUser $user, ISearchQuery $query): SearchResult
|
||||||
{
|
{
|
||||||
$result = [];
|
$result = [];
|
||||||
if (1 < \strlen(\trim($query->getTerm()))) {
|
if (2 > \strlen(\trim($query->getTerm()))) {
|
||||||
return SearchResult::complete($this->getName(), $result);
|
return SearchResult::complete($this->getName(), $result);
|
||||||
}
|
}
|
||||||
SnappyMailHelper::startApp();
|
SnappyMailHelper::startApp();
|
||||||
|
|
Loading…
Reference in a new issue