Skip to content

Commit

Permalink
Fix EuiTitle line-height in Amsterdam (elastic#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij86 committed Nov 29, 2020
1 parent 900b76d commit 7a801bd
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 7a801bd

Please sign in to comment.