mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 15:49:42 +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">
|
||||
|
|
|
|||
|
|
@ -57,13 +57,13 @@
|
|||
let isHovered = $state(false);
|
||||
</script>
|
||||
|
||||
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
||||
<div
|
||||
class="subscription-card"
|
||||
class:subscription-card--current={isCurrentPlan}
|
||||
class:subscription-card--popular={plan.popular && !isCurrentPlan}
|
||||
onmouseenter={() => (isHovered = true)}
|
||||
onmouseleave={() => (isHovered = false)}
|
||||
role="article"
|
||||
>
|
||||
{#if isCurrentPlan}
|
||||
<div class="subscription-card__badge subscription-card__badge--current">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue