Skip to content

Commit

Permalink
fix(react): Left-aligning menu items in Pivot's overflow menu (#3…
Browse files Browse the repository at this point in the history
…3325)

Co-authored-by: Humberto Makoto Morimoto Burgos <makotom@microsoft.com>
  • Loading branch information
khmakoto and Humberto Makoto Morimoto Burgos authored Nov 22, 2024
1 parent 999db8c commit b1d0ddd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: Left-aligning menu items in Pivot's overflow menu.",
"packageName": "@fluentui/react",
"email": "makotom@microsoft.com",
"dependentChangeType": "patch"
}
4 changes: 2 additions & 2 deletions packages/react/src/components/Pivot/Pivot.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ export const getStyles = (props: IPivotStyleProps): IPivotStyles => {
classNames.linkInMenu,
...getLinkStyles(props, classNames, true),
{
textAlign: 'left',
width: '100%',
justifyContent: 'start',
height: 36,
lineHeight: 36,
width: '100%',
},
],
linkIsSelected: [
Expand Down

0 comments on commit b1d0ddd

Please sign in to comment.