Skip to content

Commit 21876cf

Browse files
authored
Icon sizing - Adjust line height as well (#521)
* Add `normal` line-height to icon size modifiers to keep dimensions. * Compiled CSS * Version bump
1 parent 964aa09 commit 21876cf

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

dist/honeycomb.app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/honeycomb.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "honeycomb-web-toolkit",
3-
"version": "14.3.6",
3+
"version": "14.3.7",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/red-gate/honeycomb-web-toolkit"

src/icons/css/objects/_honeycomb.icons.objects.icons.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,47 @@
88

99
.icon--2x {
1010
font-size: 2rem;
11+
line-height: normal;
1112
}
1213

1314
.icon--3x {
1415
font-size: 3rem;
16+
line-height: normal;
1517
}
1618

1719
.icon--4x {
1820
font-size: 4rem;
21+
line-height: normal;
1922
}
2023

2124
.icon--5x {
2225
font-size: 5rem;
26+
line-height: normal;
2327
}
2428

2529
.icon--6x {
2630
font-size: 6rem;
31+
line-height: normal;
2732
}
2833

2934
.icon--7x {
3035
font-size: 7rem;
36+
line-height: normal;
3137
}
3238

3339
.icon--8x {
3440
font-size: 8rem;
41+
line-height: normal;
3542
}
3643

3744
.icon--9x {
3845
font-size: 9rem;
46+
line-height: normal;
3947
}
4048

4149
.icon--10x {
4250
font-size: 10rem;
51+
line-height: normal;
4352
}
4453

4554
/**

0 commit comments

Comments
 (0)