Skip to content

Commit 5ec9448

Browse files
committed
Tweak spacing on /governance/people
This mostly adds ph3 ("padding horizontal 3") to both sections, which prevents content from being flush with the edges of smaller screens. Other than that, sections are grouped and vertical spacing around headings and buttons is slightly tweaked.
1 parent 5715548 commit 5ec9448

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

templates/governance/all-team-members.html.hbs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,28 @@
1515
{{/inline}}
1616

1717
{{#*inline "page"}}
18-
<section class="green" style="padding-bottom: 10px;">
18+
<section class="green ph3 pb4">
1919
<div class="w-100 mw-none mw-8-m mw9-l center f2">
2020
<p>{{#fluent "governance-all-team-members-intro"}}{{#fluentparam
2121
"count"}}{{len data.active}}{{/fluentparam}}{{/fluent}}</p>
2222
</div>
23-
<div class="w-100 mw-none mw9-l center">
23+
<div class="w-100 mw-none mw9-l mb5 center">
2424
<a href="{{baseurl}}/funding" class="button button-secondary mw6">Sponsor Rust contributors</a>
2525
</div>
26-
</section>
2726

28-
<section class="green" style="padding-bottom: 15px;">
2927
<div class="w-100 mw-none mw-8-m mw9-l flex flex-column flex-row-l flex-wrap-l center">
3028
{{#each data.active as |member|}}
3129
{{> member member=member baseurl=../baseurl }}
3230
{{/each}}
3331
</div>
3432
</section>
3533

36-
<section class="red" style="padding-bottom: 10px;">
34+
<section class="red ph3 pb4">
3735
<div class="w-100 mw-none mw-8-m mw9-l center f2">
3836
<p>{{#fluent "governance-all-team-members-alumni-intro"}}{{#fluentparam
3937
"count"}}{{len data.alumni}}{{/fluentparam}}{{/fluent}}</p>
4038
</div>
41-
</section>
4239

43-
<section class="red" style="padding-bottom: 15px;">
4440
<div class="w-100 mw-none mw-8-m mw9-l flex flex-column flex-row-l flex-wrap-l center">
4541
{{#each data.alumni as |member|}}
4642
{{> member member=member baseurl=../baseurl }}

0 commit comments

Comments
 (0)