added custom class identifier as well

This commit is contained in:
Landon Patmore 2019-03-20 01:49:15 -04:00
parent 4463f7f4ad
commit 78f6b916ed
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@
{% 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="mr-3 mb-3 smedia-icon">
{% assign service_shortname = account[0] %}
{% assign service = site.data.social_media[service_shortname] %}
<a href="{{ service.profile_url_prefix }}{{ account[1] }}" title="{{ service.name }}: {{ account[1] }}" class="tooltipped tooltipped-s" aria-label="{{ service.name }}: {{ account[1] }}">

View file

@ -40,7 +40,7 @@
// fixes issue with last social media icon pushing the entire flex off-center on masthead.html page
.d-flex {
.mb-3:last-child {
.smedia-icon:last-child {
margin-right: 0 !important;
}
}