This commit is contained in:
Marc Farré 2025-02-10 11:55:19 +00:00
parent ca8043315d
commit 61e1b711ab
4 changed files with 12 additions and 10 deletions

View File

@ -386,11 +386,11 @@ humhub.module('space.chooser', function (module, require, $) {
var atLeastTwo = input && input.length > 1;
if (emptyResult && atLeastTwo) {
this.$remoteSearch.html('<li><div class="text-body-secondary">' + module.text('info.emptyResult') + '</div></li>');
this.$remoteSearch.html('<div class="text-body-secondary">' + module.text('info.emptyResult') + '</div>');
} else if (emptyResult) {
this.$remoteSearch.html('<li><div class="text-body-secondary">' + module.text('info.emptyOwnResult') + '<br/>' + module.text('info.remoteAtLeastInput') + '</div></li>');
this.$remoteSearch.html('<div class="text-body-secondary">' + module.text('info.emptyOwnResult') + '<br/>' + module.text('info.remoteAtLeastInput') + '</div>');
} else if (!atLeastTwo) {
this.$remoteSearch.html('<li><div class="text-body-secondary">' + module.text('info.remoteAtLeastInput') + '</div></li>');
this.$remoteSearch.html('<div class="text-body-secondary">' + module.text('info.remoteAtLeastInput') + '</div>');
}
}

View File

@ -322,14 +322,15 @@
}
}
form {
margin: 10px;
form.dropdown-header {
margin: 0;
padding: 10px;
}
.search-reset {
position: absolute;
color: #BFBFBF;
margin: 7px;
margin: 4px;
top: 0px;
right: 40px;
z-index: 10;

View File

@ -11144,13 +11144,14 @@ span.likeLinkContainer .like.disabled, span.likeLinkContainer .unlike.disabled {
max-height: 400px;
}
}
#topbar-second #space-menu-dropdown form, #topbar-second #search-menu-dropdown form {
margin: 10px;
#topbar-second #space-menu-dropdown form.dropdown-header, #topbar-second #search-menu-dropdown form.dropdown-header {
margin: 0;
padding: 10px;
}
#topbar-second #space-menu-dropdown .search-reset, #topbar-second #search-menu-dropdown .search-reset {
position: absolute;
color: #BFBFBF;
margin: 7px;
margin: 4px;
top: 0px;
right: 40px;
z-index: 10;

File diff suppressed because one or more lines are too long