Skip to content

Commit fad263f

Browse files
committed
Homepage: padding fixes for mobile
1 parent fb01cf8 commit fad263f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/styles/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ blockquote::before {
555555
.button.button-primary.button-download {
556556
padding: 5px;
557557
font-size: 1.5em;
558-
margin-top: 20px;
558+
margin-top: 0;
559559
}
560560
}
561561
}

templates/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{#*inline "page"}}
2-
<header>
2+
<header class="pt4 pt0-l">
33
<div class="container flex flex-column flex-row-l justify-between-l">
44
<div class="mw8-l">
55
<h1>Rust</h1>
@@ -8,7 +8,7 @@
88
systems programmer.
99
</h2>
1010
</div>
11-
<div class="mt4 mt0-l">
11+
<div>
1212
<a class="button button-primary button-download ph4 mt0" href="/learn/get-started">
1313
Get started
1414
</a>

0 commit comments

Comments
 (0)