Skip to content

Commit

Permalink
fix WC button font inheritance issues (#15435)
Browse files Browse the repository at this point in the history
* fix: ensure font properties are inherited to control and start/end content

* Change files
  • Loading branch information
chrisdholt authored Oct 9, 2020
1 parent 2f6ebac commit 7bac606
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "fix: ensure font properties are inherited to control and start/end content",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-10-08T22:22:21.243Z"
}
4 changes: 4 additions & 0 deletions packages/web-components/src/styles/patterns/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export const BaseButtonStyles: ElementStyles = css`
font-family: inherit;
}
.control, .end, .start {
font: inherit;
}
:host(:hover) {
background-color: ${neutralFillHoverBehavior.var};
}
Expand Down

0 comments on commit 7bac606

Please sign in to comment.