Skip to content

Commit 425c732

Browse files
committed
fix(style): remove redundant focus style
1 parent 6814a51 commit 425c732

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/ReadmeTocDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function handleKeydown(event: KeyboardEvent) {
148148
<button
149149
ref="triggerRef"
150150
type="button"
151-
class="flex items-center h-8 gap-1.5 px-2 py-2 font-mono text-xs text-fg-muted bg-bg-subtle border border-border-subtle border-solid rounded-md transition-colors duration-150 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover focus-visible:outline-accent/70 hover:text-fg"
151+
class="flex items-center h-8 gap-1.5 px-2 py-2 font-mono text-xs text-fg-muted bg-bg-subtle border border-border-subtle border-solid rounded-md transition-colors duration-150 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover hover:text-fg"
152152
:aria-expanded="isOpen"
153153
aria-haspopup="listbox"
154154
:aria-label="$t('package.readme.toc_title')"

app/pages/package/[[org]]/[name].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ onKeyStroke(
11461146
<button
11471147
v-if="readmeData?.markdown"
11481148
type="button"
1149-
class="flex items-center h-8 gap-1.5 px-2 py-2 font-mono text-xs bg-bg-subtle border border-border-subtle border-solid rounded-md transition-colors duration-150 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover focus-visible:outline-accent/70 hover:text-fg"
1149+
class="flex items-center h-8 gap-1.5 px-2 py-2 font-mono text-xs bg-bg-subtle border border-border-subtle border-solid rounded-md transition-colors duration-150 hover:(text-fg border-border-hover) active:scale-95 focus:border-border-hover hover:text-fg"
11501150
:class="copiedMarkdown ? 'text-fg' : 'text-fg-muted'"
11511151
:aria-label="
11521152
copiedMarkdown ? $t('common.copied') : $t('package.readme.copy_markdown')

0 commit comments

Comments
 (0)