Skip to content

Commit 1c8b241

Browse files
fix(SplitButton): Remove borders from hover and pressed state in primary split buttons (#25059)
* fix: Remove border in hover/pressed state of split button. * change file * updating snapshots * typo * updating to only apply styles to primary splitbutton * adding requested changes
1 parent 0b45dbb commit 1c8b241

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: Remove border in hover/pressed state of primary SplitButton.",
4+
"packageName": "@fluentui/react",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/react/src/components/Button/SplitButton/SplitButton.styles.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ export const getStyles = memoizeFunction(
4949
borderRightWidth: '0',
5050
...getHighContrastNoAdjustStyle(),
5151
},
52+
':hover': {
53+
border: 'none',
54+
},
55+
':active': {
56+
border: 'none',
57+
},
5258
},
5359
},
5460
'.ms-Button--primary + .ms-Button': {

0 commit comments

Comments
 (0)