Skip to content

Commit 1a13554

Browse files
committed
layout spacing tweaks
1 parent 5b97711 commit 1a13554

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

docs/.vuepress/theme/global-components/ContentStatus.vue

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
of this page on GitHub.
1515
</div>
1616
<div class="section content-status-vote">
17-
<h4>Is this topic important to you?</h4>
17+
<h3>Is this topic important to you?</h3>
1818
<button>Yes</button>
1919
<button>Not really</button>
2020
</div>
@@ -35,8 +35,8 @@
3535
</div>
3636
</div>
3737

38-
<div class="section content-status-info" style="clear: both">
39-
<div v-if="related" class="content-other-resources">
38+
<div class="content-status-info" style="clear: both">
39+
<div v-if="related" class="section content-other-resources">
4040
<h3>Other resources to try</h3>
4141
<ul>
4242
<li v-for="(item, title) in related">
@@ -73,6 +73,7 @@ export default {
7373
<style lang="stylus" scoped>
7474
h2, h3 {
7575
border-bottom: none;
76+
margin: 0.5rem 0; // TODO: make global
7677
}
7778
7879
ul {
@@ -86,10 +87,6 @@ ul {
8687
}
8788
}
8889
89-
.section {
90-
margin-bottom: 3rem;
91-
}
92-
9390
.content-status-vote {
9491
margin-top: 3rem;
9592
}
@@ -99,8 +96,15 @@ ul {
9996
float: right;
10097
}
10198
99+
// TODO: make global
100+
.section {
101+
margin-bottom: 3rem;
102+
}
103+
104+
// TODO: make global
102105
.content-status-vote {
103106
button {
107+
font-weight: bold;
104108
padding: 10px 15px;
105109
background-color: darken($accentColor, 30%);
106110
border: none;

0 commit comments

Comments
 (0)