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:
@@ -240,11 +240,11 @@ function triageApp(albumId) {
|
|||||||
.filter(c => c && !c.startsWith('border-') && c !== 'opacity-40')
|
.filter(c => c && !c.startsWith('border-') && c !== 'opacity-40')
|
||||||
.join(' ');
|
.join(' ');
|
||||||
if (tag === 'journal') {
|
if (tag === 'journal') {
|
||||||
el.classList.add('border-success');
|
el.classList.add('border-4', 'border-success');
|
||||||
} else if (tag === 'story') {
|
} else if (tag === 'story') {
|
||||||
el.classList.add('border-info');
|
el.classList.add('border-4', 'border-info');
|
||||||
} else {
|
} else {
|
||||||
el.classList.add('border-base-300', 'opacity-40');
|
el.classList.add('border-4', 'border-base-300', 'opacity-40');
|
||||||
}
|
}
|
||||||
updateBadge(el, tag);
|
updateBadge(el, tag);
|
||||||
this.updateCount();
|
this.updateCount();
|
||||||
@@ -270,7 +270,7 @@ function triageApp(albumId) {
|
|||||||
.split(' ')
|
.split(' ')
|
||||||
.filter(c => !c.startsWith('border-') && c !== 'opacity-40')
|
.filter(c => !c.startsWith('border-') && c !== 'opacity-40')
|
||||||
.join(' ');
|
.join(' ');
|
||||||
el.classList.add('border-base-300', 'opacity-40');
|
el.classList.add('border-4', 'border-base-300', 'opacity-40');
|
||||||
updateBadge(el, 'skip');
|
updateBadge(el, 'skip');
|
||||||
});
|
});
|
||||||
this.updateCount();
|
this.updateCount();
|
||||||
|
|||||||
Reference in New Issue
Block a user