Improve Nextcloud style and unified search

This commit is contained in:
the-djmaze 2022-10-20 11:43:33 +02:00
parent d6940aad7e
commit 550dfb3459
2 changed files with 5 additions and 1 deletions

View file

@ -88,6 +88,10 @@ button.btn:not(.button-vue) {
white-space: inherit;
}
body > header ul {
margin: 0;
}
@media print {
#body-user #header {
display: none;

View file

@ -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();