aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Layout/Dropdown.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-15 10:27:00 +0000
committerFuwn <[email protected]>2026-05-15 10:27:00 +0000
commit0d041c6b61fddb96fe3c65764bf54298cdadbeba (patch)
treea6069215ed797880d2cd1b096b30777b3cabb8f5 /src/lib/Layout/Dropdown.svelte
parentfix(a11y): give CommandPalette real dialog and combobox semantics (diff)
downloaddue.moe-0d041c6b61fddb96fe3c65764bf54298cdadbeba.tar.xz
due.moe-0d041c6b61fddb96fe3c65764bf54298cdadbeba.zip
perf(images): lazy-load and async-decode off-screen imagery
Add loading=lazy and decoding=async to the 16 <img> elements that weren't already deferring across Tools/Wrapped, Events, EasterEvent, Hololive, and the rate-limited fallback. Also drop the backdrop-filter: blur(160px) the dropdown items were paying on every hover; the background-color change already gives sufficient feedback, and the parent card's own blur stays.
Diffstat (limited to 'src/lib/Layout/Dropdown.svelte')
-rw-r--r--src/lib/Layout/Dropdown.svelte1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/Layout/Dropdown.svelte b/src/lib/Layout/Dropdown.svelte
index 4e2f8617..105b29f3 100644
--- a/src/lib/Layout/Dropdown.svelte
+++ b/src/lib/Layout/Dropdown.svelte
@@ -206,7 +206,6 @@ const handleItemKey = async (e: KeyboardEvent, index: number) => {
.dropdown-content a:hover {
border-radius: 8px;
- backdrop-filter: blur(160px);
background-color: var(--base01);
}
</style>