Skip to content

Commit

Permalink
fix(web-components): ensure buttons with long text maintain center al…
Browse files Browse the repository at this point in the history
…ignment (#31179)

Co-authored-by: Christopher Holt <=>
  • Loading branch information
chrisdholt authored and radium-v committed Apr 30, 2024
1 parent 554c8b9 commit ca13b76
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": "prerelease",
"comment": "ensure buttons with long text maintain center alignment",
"packageName": "@fluentui/web-components",
"email": "=",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/web-components/src/button/button.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const styles = css`
align-items: center;
box-sizing: border-box;
justify-content: center;
text-align: center;
text-decoration-line: none;
margin: 0;
min-height: 32px;
Expand Down

0 comments on commit ca13b76

Please sign in to comment.