mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-26 02:24:39 +02:00
A11y
This commit is contained in:
parent
a47a7bfdba
commit
82f58e44fa
5 changed files with 7 additions and 6 deletions
|
|
@ -42,12 +42,12 @@
|
|||
let isHovered = $state(false);
|
||||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
class="package-card"
|
||||
class:package-card--popular={pkg.popular}
|
||||
onmouseenter={() => (isHovered = true)}
|
||||
onmouseleave={() => (isHovered = false)}
|
||||
role="article"
|
||||
>
|
||||
{#if pkg.popular}
|
||||
<div class="package-card__badge">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue