Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #103 from landonp1203/dev
Browse files Browse the repository at this point in the history
Fixed issue with social media icons being off centered by default
  • Loading branch information
brandonrosage committed Apr 1, 2019
2 parents 478e3ed + bf356e5 commit 6c846f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if site.layout == 'stacked' %}
{% assign metadata_styles = 'd-md-inline-block mr-3' %}
{% assign metadata_styles = 'd-md-inline-block mx-3 mb-1 mb-md-0' %}
{% else %}
{% assign metadata_styles = 'd-flex flex-items-center mb-3' %}
{% endif %}
Expand Down Expand Up @@ -37,7 +37,7 @@ <h1 class="{% if site.style == 'dark' %}text-white{% endif %} mb-2 lh-condensed"
{% if site.social_media %}
<div class="d-flex flex-wrap flex-items-start {% if site.layout == 'stacked' %}flex-justify-center mt-1 mt-md-3{% endif %}">
{% for account in site.social_media %}
<div class="mr-3 mb-3">
<div class="{% unless forloop.last == true %}mr-3{% endunless %} mb-3">
{% assign service_shortname = account[0] %}
{% assign service = site.data.social_media[service_shortname] %}
<a href="{{ service.profile_url_prefix }}{{ account[1] }}" class="tooltipped tooltipped-se" aria-label="{{ service.name }}: {{ account[1] }}">
Expand Down

0 comments on commit 6c846f3

Please sign in to comment.