You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v10, HTML elements like buttons and divs inherited their font-family from the BODY (I think via _css--reset.scss). This could be seen by inspecting an element's "Rendered Fonts" in Chrome's DevTools. In v11, HTML elements no longer inherit their font-family from BODY; instead the browser (user agent stylesheet) default is applied (Arial in Chrome).
Render an HTML element in page that includes carbon v11's min css, DIVs and BUTTONs (and likely other HTML elements) render using the browser default font (Arial in Chrome)
Suggested Severity
Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.
Package
@carbon/react
Browser
Chrome, Firefox
Package version
11.25.0
React version
17.0.0
Description
In v10, HTML elements like buttons and divs inherited their font-family from the BODY (I think via
_css--reset.scss
). This could be seen by inspecting an element's "Rendered Fonts" in Chrome's DevTools. In v11, HTML elements no longer inherit their font-family from BODY; instead the browser (user agent stylesheet) default is applied (Arial in Chrome).v10 example
v11 failure
Reproduction/example
v10 - https://codesandbox.io/s/reset-font-family--carbon-10-10infd v 11 - https://codesandbox.io/s/reset-font-family--carbon-11-e0m5k0
Steps to reproduce
Render an HTML element in page that includes carbon v11's min css, DIVs and BUTTONs (and likely other HTML elements) render using the browser default font (Arial in Chrome)
Suggested Severity
Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.
Application/PAL
zSystems Hardware Management Console
Code of Conduct
The text was updated successfully, but these errors were encountered: