Skip to content

Commit 179570f

Browse files
committed
Remove excess padding-bottom on learn page
Each of the action items in the first section of the learn page has its own padding-bottom, which is added to the padding-bottom of the section it's contained in. I believe this was a mistake, since all other pages appear to use the section's padding-bottom.
1 parent 8fa3e48 commit 179570f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/learn/index.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="highlight"></div>
1414
</header>
1515
<section class="flex flex-column flex-row-l pv0-l">
16-
<div class="flex flex-row flex-column-l justify-between-l mw8 measure-wide-l pb4 pb5-m pb6-ns ph4-l">
16+
<div class="flex flex-row flex-column-l justify-between-l mw8 measure-wide-l pb4 pb5-m pb0-ns ph4-l">
1717
<div class="v-top pl4 pl0-l pt3-l measure-wide-l flex-l flex-column-l flex-auto-l">
1818
<p class="flex-grow-1">{{fluent "learn-book"}}</p>
1919
<div class="buttons">
@@ -22,15 +22,15 @@
2222
</div>
2323
</div>
2424
</div>
25-
<div class="flex flex-row flex-column-l justify-between-l mw8 measure-wide-l pb4 pb5-m pb6-ns ph4-l">
25+
<div class="flex flex-row flex-column-l justify-between-l mw8 measure-wide-l pb4 pb5-m pb0-ns ph4-l">
2626
<div class="v-top pl4 pl0-l pt3-l measure-wide-l flex-l flex-column-l flex-auto-l">
2727
<p class="flex-grow-1">{{fluent "learn-rustlings"}}</p>
2828
<div class="buttons">
2929
<a class="button button-secondary" href="https://github.com/rust-lang/rustlings/">{{fluent "learn-rustlings-button"}}</a>
3030
</div>
3131
</div>
3232
</div>
33-
<div class="flex flex-row flex-column-l justify-between-l mw8 measure-wide-l pb4 pb5-m pb6-ns ph4-l">
33+
<div class="flex flex-row flex-column-l justify-between-l mw8 measure-wide-l pb4 pb5-m pb0-ns ph4-l">
3434
<div class="v-top pl4 pl0-l pt3-l measure-wide-l flex-l flex-column-l flex-auto-l">
3535
<p class="flex-grow-1">{{fluent "learn-rbe"}}</p>
3636
<div class="buttons">

0 commit comments

Comments
 (0)