fix: closes #12474, fix search dropdown on mobile for merge

add remove topic buttons
This commit is contained in:
Barış Soner Uşaklı
2024-04-22 10:24:28 -04:00
parent d85aae38c3
commit ce03680f04
4 changed files with 45 additions and 16 deletions

View File

@@ -136,6 +136,7 @@ define('search', [
text.slice(start, start + 80) +
(text.length - start > 80 ? '...' : ''));
});
data.dropdown = { maxWidth: '400px', maxHeight: '500px', ...options.dropdown };
app.parseAndTranslate('partials/quick-search-results', data, function (html) {
if (html.length) {
html.find('.timeago').timeago();