Skip to content

Commit 933ce36

Browse files
committed
fix(a11y): make copy button always visible
1 parent f04943d commit 933ce36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Package/SkillsModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function getWarningTooltip(skill: SkillListItem): string | undefined {
133133
</code>
134134
<button
135135
type="button"
136-
class="absolute top-0 inset-ie-0 px-2 py-0.5 font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border rounded transition-colors duration-200 opacity-0 group-hover/cmd:opacity-100 hover:(text-fg border-border-hover) active:scale-95 focus-visible:opacity-100 focus-visible:outline-accent/70"
136+
class="absolute top-0 inset-ie-0 px-2 py-0.5 font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border border-solid rounded transition-colors hover:(text-fg border-border-hover) active:scale-95 focus-visible:outline-accent/70"
137137
:aria-label="$t('package.get_started.copy_command')"
138138
@click.stop="copyCommand"
139139
>

0 commit comments

Comments
 (0)