Skip to content

Commit

Permalink
fix: MenuDivider thickness should be strokeWidthThin (#25711)
Browse files Browse the repository at this point in the history
* fix: MenuDivider thickness should be `strokeWidthThin`

Updates the border style of `MenuDivider` to use `strokeWidthThin`
design token

* changefile
  • Loading branch information
ling1726 authored Nov 22, 2022
1 parent f64a675 commit 6f036a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: MenuDivider thickness should be `strokeWidthThin`",
"packageName": "@fluentui/react-menu",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const useStyles = makeStyles({
root: {
...shorthands.margin('4px', '-5px', '4px', '-5px'),
width: 'auto',
...shorthands.borderBottom('1px', 'solid', tokens.colorNeutralStroke2),
...shorthands.borderBottom(tokens.strokeWidthThin, 'solid', tokens.colorNeutralStroke2),
},
});

Expand Down

0 comments on commit 6f036a8

Please sign in to comment.