Skip to content

Commit b1d0ddd

Browse files
khmakotoHumberto Makoto Morimoto Burgos
andauthored
fix(react): Left-aligning menu items in Pivot's overflow menu (#33325)
Co-authored-by: Humberto Makoto Morimoto Burgos <[email protected]>
1 parent 999db8c commit b1d0ddd

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
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: Left-aligning menu items in Pivot's overflow menu.",
4+
"packageName": "@fluentui/react",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/react/src/components/Pivot/Pivot.styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ export const getStyles = (props: IPivotStyleProps): IPivotStyles => {
224224
classNames.linkInMenu,
225225
...getLinkStyles(props, classNames, true),
226226
{
227-
textAlign: 'left',
228-
width: '100%',
227+
justifyContent: 'start',
229228
height: 36,
230229
lineHeight: 36,
230+
width: '100%',
231231
},
232232
],
233233
linkIsSelected: [

0 commit comments

Comments
 (0)