Skip to content

Commit 470f910

Browse files
committed
Remove <code> line-height
1 parent bb1725f commit 470f910

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/styles.js

-9
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ module.exports = {
173173
},
174174
code: {
175175
fontSize: em(14, 16),
176-
lineHeight: round(28 / 14),
177176
borderRadius: rem(6),
178177
paddingTop: em(4, 14),
179178
paddingRight: em(6, 14),
@@ -317,7 +316,6 @@ module.exports = {
317316
},
318317
code: {
319318
fontSize: em(12, 14),
320-
lineHeight: round(24 / 12),
321319
borderRadius: rem(4),
322320
paddingTop: em(2, 12),
323321
paddingRight: em(4, 12),
@@ -460,7 +458,6 @@ module.exports = {
460458
},
461459
code: {
462460
fontSize: em(16, 18),
463-
lineHeight: round(32 / 16),
464461
borderRadius: rem(6),
465462
paddingTop: rem(4),
466463
paddingRight: rem(6),
@@ -603,22 +600,19 @@ module.exports = {
603600
},
604601
code: {
605602
fontSize: em(18, 20),
606-
lineHeight: round(36 / 18),
607603
borderRadius: rem(8),
608604
paddingTop: em(4, 18),
609605
paddingRight: em(6, 18),
610606
paddingBottom: em(4, 18),
611607
paddingLeft: em(6, 18),
612608
},
613609
'h2 code': {
614-
lineHeight: round(40 / 32.4),
615610
paddingTop: em(6, 36),
616611
paddingRight: em(8, 36),
617612
paddingBottom: em(6, 36),
618613
paddingLeft: em(8, 36),
619614
},
620615
'h3 code': {
621-
lineHeight: round(40 / 27),
622616
paddingTop: em(4, 30),
623617
paddingRight: em(6, 30),
624618
paddingBottom: em(4, 30),
@@ -760,22 +754,19 @@ module.exports = {
760754
},
761755
code: {
762756
fontSize: em(20, 24),
763-
lineHeight: round(40 / 20),
764757
borderRadius: rem(8),
765758
paddingTop: em(6, 20),
766759
paddingRight: em(8, 20),
767760
paddingBottom: em(6, 20),
768761
paddingLeft: em(8, 20),
769762
},
770763
'h2 code': {
771-
lineHeight: round(40 / 32.4),
772764
paddingTop: em(6, 36),
773765
paddingRight: em(8, 36),
774766
paddingBottom: em(6, 36),
775767
paddingLeft: em(8, 36),
776768
},
777769
'h3 code': {
778-
lineHeight: round(40 / 27),
779770
paddingTop: em(4, 30),
780771
paddingRight: em(6, 30),
781772
paddingBottom: em(4, 30),

0 commit comments

Comments
 (0)