Skip to content

Commit bbc57e2

Browse files
committed
Nit on hoovering tutorial status
1 parent 7e0b636 commit bbc57e2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

frontend/src/lib/components/home/TutorialButton.svelte

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
<button
6060
onclick={disabled || comingSoon ? undefined : onclick}
6161
disabled={disabled || comingSoon}
62-
onmouseenter={() => (isHovered = true)}
63-
onmouseleave={() => (isHovered = false)}
6462
class="group relative flex items-center gap-4 w-full px-4 py-3 first-of-type:!border-t-0 first-of-type:rounded-t-md last-of-type:rounded-b-md [*:not(:last-child)]:border-b border-b border-light transition-colors text-left last:border-b-0 {disabled || comingSoon
6563
? 'opacity-50 cursor-not-allowed'
6664
: 'hover:bg-surface-hover'}"
@@ -84,7 +82,12 @@
8482
</div>
8583

8684
<!-- Status -->
87-
<div class="flex items-center gap-1.5 flex-shrink-0">
85+
<div
86+
role="status"
87+
class="flex items-center gap-1.5 flex-shrink-0"
88+
onmouseenter={() => (isHovered = true)}
89+
onmouseleave={() => (isHovered = false)}
90+
>
8891
{#if actionButton()}
8992
{@const button = actionButton()!}
9093
{@const ActionIcon = button.icon}

0 commit comments

Comments
 (0)