Skip to content

Commit

Permalink
[Amsterdam] Tighten title line-heights (elastic#4133)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij86 committed Nov 29, 2020
1 parent 52077cf commit 38d106d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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.5.0`.
**Theme: Amsterdam**

- Tightened `line-height` for some `EuiTitle` sizes ([4133](https://github.com/elastic/eui/pull/4133))

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $euiFontSizeXXL: floor($euiFontSize * 2.43); // 34px // h1
$euiTitles: (
'xxxs': (
'font-size': $euiFontSizeXS,
'line-height': lineHeightFromBaseline(3),
'line-height': lineHeightFromBaseline(2),
'font-weight': $euiFontWeightBold,
),
'xxs': (
Expand All @@ -42,12 +42,12 @@ $euiTitles: (
),
'm': (
'font-size': $euiFontSizeXL,
'line-height': lineHeightFromBaseline(5),
'line-height': lineHeightFromBaseline(4),
'font-weight': $euiFontWeightBold,
),
'l': (
'font-size': $euiFontSizeXXL,
'line-height': lineHeightFromBaseline(6),
'line-height': lineHeightFromBaseline(5),
'font-weight': $euiFontWeightBold,
),
);

0 comments on commit 38d106d

Please sign in to comment.