fix watch tags style to match others

This commit is contained in:
Barış Soner Uşaklı
2026-03-10 12:43:12 -04:00
parent f6f51f83c4
commit 37bbb4e1e3
2 changed files with 4 additions and 2 deletions

View File

@@ -110,7 +110,7 @@
"nodebb-theme-harmony": "2.2.48",
"nodebb-theme-lavender": "7.1.21",
"nodebb-theme-peace": "2.2.56",
"nodebb-theme-persona": "14.2.25",
"nodebb-theme-persona": "14.2.26",
"nodebb-widget-essentials": "7.0.43",
"nodemailer": "8.0.1",
"nprogress": "0.2.0",

View File

@@ -11,10 +11,12 @@ define('forum/account/tags', [
const tagEl = $('[component="tags/watch"]');
tagEl.tagsinput({
tagClass: 'badge text-bg-info',
tagClass: 'badge rounded-1',
confirmKeys: [13, 44],
trimValue: true,
});
const tagsinput = tagEl.siblings('.bootstrap-tagsinput');
tagsinput.addClass('tag-list');
const input = tagEl.siblings('.bootstrap-tagsinput').find('input');
input.translateAttr('aria-label', '[[aria:user-watched-tags]]');
autocomplete.tag(input);