From 281dd92e23d7325c05b36fb8c7f921fb46cdf255 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Thu, 8 Oct 2020 15:20:42 -0700 Subject: [PATCH 1/2] fix: ensure font properties are inherited to control and start/end content --- packages/web-components/src/styles/patterns/button.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/web-components/src/styles/patterns/button.ts b/packages/web-components/src/styles/patterns/button.ts index d9eea63129b0af..4caaff10dab795 100644 --- a/packages/web-components/src/styles/patterns/button.ts +++ b/packages/web-components/src/styles/patterns/button.ts @@ -61,6 +61,10 @@ export const BaseButtonStyles: ElementStyles = css` font-family: inherit; } + .control, .end, .start { + font: inherit; + } + :host(:hover) { background-color: ${neutralFillHoverBehavior.var}; } From 59eb13889e84bd13503a9d6f5566fee8a91e6de0 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Thu, 8 Oct 2020 15:22:21 -0700 Subject: [PATCH 2/2] Change files --- ...-22-21-users-chhol-button-font-inheritance-issues.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 change/@fluentui-web-components-2020-10-08-15-22-21-users-chhol-button-font-inheritance-issues.json diff --git a/change/@fluentui-web-components-2020-10-08-15-22-21-users-chhol-button-font-inheritance-issues.json b/change/@fluentui-web-components-2020-10-08-15-22-21-users-chhol-button-font-inheritance-issues.json new file mode 100644 index 00000000000000..0d163661c6420a --- /dev/null +++ b/change/@fluentui-web-components-2020-10-08-15-22-21-users-chhol-button-font-inheritance-issues.json @@ -0,0 +1,8 @@ +{ + "type": "patch", + "comment": "fix: ensure font properties are inherited to control and start/end content", + "packageName": "@fluentui/web-components", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch", + "date": "2020-10-08T22:22:21.243Z" +}