mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
better deletion styles
This commit is contained in:
@@ -601,8 +601,8 @@ export class MultiSelectSimple extends HTMLElement {
|
||||
textEl.appendChild(newBadge);
|
||||
}
|
||||
if (isRemoved) {
|
||||
textEl.classList.add("line-through", "decoration-2", "decoration-red-600", "text-gray-500");
|
||||
detailEl.classList.add("line-through", "decoration-2", "decoration-red-600", "text-gray-500");
|
||||
pillEl.classList.add("bg-red-100");
|
||||
pillEl.style.position = "relative";
|
||||
}
|
||||
deleteBtn.setAttribute("aria-label", isRemoved ? `Undo remove ${itemData.name}` : `Remove ${itemData.name}`);
|
||||
deleteBtn.dataset.id = itemId;
|
||||
|
||||
Reference in New Issue
Block a user