Skip to content

Commit a2c67bb

Browse files
committed
Fix spacing of buttons in masthead for mobile
1 parent 9629be9 commit a2c67bb

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

_includes/masthead/button.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a
22
href="{{ include.url }}"
3-
class="site-masthead__button"
3+
class="site-masthead__button mx-2 mb-2"
44
>
55
{% include fa-icon.html
66
icon=include.icon

_includes/masthead/buttons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div>
2424

2525
{% if site.project.version %}
26-
<p class="site-masthead__version mt-2 mb-0">
26+
<p class="site-masthead__version my-0">
2727
Latest release v{{ site.project.version }}
2828
</p>
2929
{% endif %}

_sass/components/_masthead.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
border-width: 1px;
4242
display: inline-block;
4343
font-size: 1.25rem;
44-
margin-right: 1rem;
4544
padding: 0.75rem 2rem;
4645

4746
&:hover {
@@ -56,10 +55,6 @@
5655

5756
text-decoration: none;
5857
}
59-
60-
&:last-child {
61-
margin-right: 0;
62-
}
6358
}
6459

6560
.site-masthead__version {

0 commit comments

Comments
 (0)