Skip to content

Commit

Permalink
Fix EuiTitle line-height in Amsterdam (#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbharding authored Sep 30, 2020
1 parent 900b76d commit 5270286
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `29.2.0`.
**Theme: Amsterdam**

- Fixed `line-height` on `EuiTitle` ([#4079](https://github.com/elastic/eui/pull/4079))

## [`29.2.0`](https://github.com/elastic/eui/tree/v29.2.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ $euiFontSizeL: ceil($euiFontSize * 1.57); // 22px // h3
$euiFontSizeXL: floor($euiFontSize * 1.93); // 27px // h2
$euiFontSizeXXL: floor($euiFontSize * 2.43); // 34px // h1

// Use 8px increments for base gridline
@function lineHeightFromBaseline($multiplier: 3) {
@return convertToRem(($euiSize/2)*$multiplier);
}

$euiTitles: (
'xxxs': (
'font-size': $euiFontSizeXS,
Expand Down

0 comments on commit 5270286

Please sign in to comment.