diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c235a12102..1d6a63d4137 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `9.7.0`. +**Bug fixes** + +- Fixed heading and paragraph tag font style inherits ([#1776](https://github.com/elastic/eui/pull/1776)) ## [`9.7.0`](https://github.com/elastic/eui/tree/v9.7.0) @@ -14,6 +16,8 @@ No public interface changes since `9.7.0`. **Bug fixes** +**Note: this release creates a minor regression to text scales where paragraph and heading tags were no longer inheriting from their container. This is fixed in `master`.** + - Set `h1 through h6, p` tags font reset based on family, size, and weight ([#1760](https://github.com/elastic/eui/pull/1760)) - Fixed `EuiButton` font size inheritence ([#1760](https://github.com/elastic/eui/pull/1760)) - Updated button elements in `EuiFilePicker`, `EuiFormControlLayoutClearButton`, `EuiFormControlLayoutCustomIcon`, `EuiListGroupItem`, and `EuiSideNavItem` to type=button ([#1764](https://github.com/elastic/eui/pull/1764)) diff --git a/src/global_styling/reset/_reset.scss b/src/global_styling/reset/_reset.scss index 626c71bf268..6b4539a0fc3 100644 --- a/src/global_styling/reset/_reset.scss +++ b/src/global_styling/reset/_reset.scss @@ -34,9 +34,9 @@ code, pre, kbd, samp { } h1, h2, h3, h4, h5, h6, p { - font-family: $euiFontFamily; - font-weight: $euiFontWeightRegular; - font-size: $euiFontSize; + font-family: inherit; + font-weight: inherit; + font-size: inherit; } input, textarea, select, button {