Skip to content

Commit

Permalink
fix: wrong focus outline offset (#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Mar 20, 2024
1 parent c7881cb commit 184002e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/foundations/scss/colors/_variants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ $component-variants: (

%focus-placeholder {
outline: #{vars.$db-border-height-md} var(--db-focus-outline-style, solid) var(--db-focus-outline-color, currentColor);
outline-offset: calc(
#{vars.$db-border-height-lg} + #{vars.$db-border-height-md}
);
outline-offset: vars.$db-border-height-lg;

// TODO: The fallback currently only includes the same CSS Custom Property, which doesn't make any sense
transition:
Expand Down

0 comments on commit 184002e

Please sign in to comment.