Skip to content

Commit 558bcad

Browse files
committed
fix: rounded on focus-visible
1 parent 881330f commit 558bcad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Button/Base.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defineExpose({
3232
<template>
3333
<button
3434
ref="el"
35-
class="rounded-md outline-transparent focus-visible:(outline-2 outline-accent outline-offset-2)"
35+
class="rounded-md outline-none group"
3636
:class="$attrs.class"
3737
:type="props.type"
3838
:disabled="
@@ -47,7 +47,7 @@ defineExpose({
4747
:aria-keyshortcuts="keyshortcut"
4848
>
4949
<span
50-
class="group cursor-pointer inline-flex gap-x-1.5 relative items-center justify-center rounded-md active:rounded-4xl font-mono border border-solid transition-[background-color,color,border,outline] duration-200 transition-[border-radius_100ms] after:(content-[''] absolute inset--0.5 rounded-md [transition:border-radius_100ms]) active:after:rounded-4xl"
50+
class="group cursor-pointer inline-flex gap-x-1.5 relative items-center justify-center rounded-md active:rounded-4xl font-mono border border-solid transition-[background-color,color,border,outline] duration-200 transition-[border-radius_100ms] after:(content-[''] absolute inset--0.5 rounded-md) outline-transparent group-focus-visible:(outline-2 outline-accent outline-offset-2)"
5151
:class="{
5252
'text-sm px-4 py-2': size === 'medium',
5353
'text-xs px-2 py-0.5': size === 'small',

0 commit comments

Comments
 (0)