mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +03:00
Improve Nextcloud style and unified search
This commit is contained in:
parent
d6940aad7e
commit
550dfb3459
2 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue