Skip to content

Commit

Permalink
Fix spacing of buttons in masthead for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Mar 22, 2020
1 parent 9629be9 commit a2c67bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _includes/masthead/button.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a
href="{{ include.url }}"
class="site-masthead__button"
class="site-masthead__button mx-2 mb-2"
>
{% include fa-icon.html
icon=include.icon
Expand Down
2 changes: 1 addition & 1 deletion _includes/masthead/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>

{% if site.project.version %}
<p class="site-masthead__version mt-2 mb-0">
<p class="site-masthead__version my-0">
Latest release v{{ site.project.version }}
</p>
{% endif %}
Expand Down
5 changes: 0 additions & 5 deletions _sass/components/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
border-width: 1px;
display: inline-block;
font-size: 1.25rem;
margin-right: 1rem;
padding: 0.75rem 2rem;

&:hover {
Expand All @@ -56,10 +55,6 @@

text-decoration: none;
}

&:last-child {
margin-right: 0;
}
}

.site-masthead__version {
Expand Down

0 comments on commit a2c67bb

Please sign in to comment.