fix: restore border-4 width when retagging (was stripped by border-* filter)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-21 21:36:37 +02:00
parent a8804547e7
commit 3fd1e8ae96
@@ -240,11 +240,11 @@ function triageApp(albumId) {
.filter(c => c && !c.startsWith('border-') && c !== 'opacity-40')
.join(' ');
if (tag === 'journal') {
el.classList.add('border-success');
el.classList.add('border-4', 'border-success');
} else if (tag === 'story') {
el.classList.add('border-info');
el.classList.add('border-4', 'border-info');
} else {
el.classList.add('border-base-300', 'opacity-40');
el.classList.add('border-4', 'border-base-300', 'opacity-40');
}
updateBadge(el, tag);
this.updateCount();
@@ -270,7 +270,7 @@ function triageApp(albumId) {
.split(' ')
.filter(c => !c.startsWith('border-') && c !== 'opacity-40')
.join(' ');
el.classList.add('border-base-300', 'opacity-40');
el.classList.add('border-4', 'border-base-300', 'opacity-40');
updateBadge(el, 'skip');
});
this.updateCount();