Skip to content

Commit

Permalink
bugfix(react-switch): adds line-height=0 to switch indicator slot (mi…
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunderhus authored and Hotell committed Feb 9, 2023
1 parent c3feec5 commit 6f4fb2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "bugfix: adds line-height=0 to switch indicator slot",
"packageName": "@fluentui/react-switch",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const useIndicatorStyles = makeStyles({
...shorthands.borderRadius(tokens.borderRadiusCircular),
...shorthands.borderStyle('solid'),
...shorthands.borderWidth('1px'),
lineHeight: 0,
boxSizing: 'border-box',
fill: 'currentColor',
flexShrink: 0,
Expand Down

0 comments on commit 6f4fb2c

Please sign in to comment.