Skip to content

Commit c8690b1

Browse files
Adjust heading margins and font sizes for mobile
1 parent 4fe1a11 commit c8690b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/heading.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ const Heading = ({ mobile }) => (
4242
style={{
4343
fontSize: mobile ? '2em' : '4em',
4444
fontWeight: 'normal',
45-
marginBottom: 0,
46-
marginTop: mobile ? '1.5em' : '3em',
45+
marginBottom: 2,
46+
marginTop: mobile ? '1em' : '1em',
4747
}}
4848
/>
4949
<Header
5050
as="h2"
5151
content="Meta Attack Language - M A L"
5252
inverted
5353
style={{
54-
fontSize: mobile ? '1.5em' : '1.7em',
54+
fontSize: mobile ? '1.5em' : '2em',
5555
fontWeight: 'normal',
5656
marginTop: mobile ? '0.5em' : '1.5em',
5757
}}

0 commit comments

Comments
 (0)