Skip to content

Commit bb717f6

Browse files
authored
Replace rem by em on Heading (#39)
1 parent d641306 commit bb717f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/atoms/Heading/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const styles = ({ kind, light, level }) => {
1111
font-weight: 500;
1212
font-size: ${0.75 + 1 * (1 / level)}rem;
1313
margin: 0;
14-
margin-top: ${1 + 0.5 * (1 / level)}rem;
15-
margin-bottom: ${0.5 + 0.5 * (1 / level)}rem;
14+
margin-top: 0.85714em;
15+
margin-bottom: 0.57142em;
1616
color: ${color};
1717
`
1818
}

0 commit comments

Comments
 (0)