feat: add some icon

This commit is contained in:
2024-04-07 03:23:50 +02:00
parent 91afbdda37
commit 0fd1d5a71d
5 changed files with 14 additions and 63 deletions

View File

@@ -19,7 +19,6 @@
_img.addEventListener("load", () => {
img.classList.remove("thumb-loading");
_img.style.opacity = "1";
console.log("loaded");
});
if (_img?.alt) altText = _img.alt;
else altText = "";
@@ -128,6 +127,10 @@
display: none;
}
.images :global(.thumb-loading)::before {
opacity: 0;
}
.images :global(.active) {
position: relative;
display: block !important;