Skip to content

Commit

Permalink
fix outline on empty badge
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Mar 28, 2024
1 parent 7954f43 commit 7728f6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/styles/src/components/badge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
border-width: badge.$badge-border-width-empty;

// prevent blurry border effect
outline: badge.$badge-border-width solid badge.$badge-border-color;
outline-offset: -1 * badge.$badge-border-width;
outline: badge.$badge-border-width-empty solid badge.$badge-border-color;
outline-offset: -0.75 * badge.$badge-border-width-empty;
}
}

Expand All @@ -40,5 +40,5 @@

// prevent blurry border effect
outline: badge.$badge-border-width-sm solid badge.$badge-border-color;
outline-offset: -1 * badge.$badge-border-width-sm;
outline-offset: -0.75 * badge.$badge-border-width-sm;
}

0 comments on commit 7728f6e

Please sign in to comment.