Skip to content

Commit

Permalink
fix for this issue, twbs/bootstrap#10073
Browse files Browse the repository at this point in the history
(svg distorting when using .img-responsive in IE 10)
  • Loading branch information
TT-- committed Apr 23, 2017
1 parent e3dfd1b commit 9356c83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h3>More Links</h3>
<ul class="list-inline social-but-img">
{% for network in site.social-footer %}
{% if network.icon == null %}
<li><a href="{{ network.url }}"><img class="img-iconimg" src="{{ site.baseurl }}/img/{{ network.iconimgsrc }}" alt="{{ network.iconimgalt }}"></a> </li>
<li><a href="{{ network.url }}"><img class="img-responsive-iconimg" src="{{ site.baseurl }}/img/{{ network.iconimgsrc }}" alt="{{ network.iconimgalt }}"></a> </li>
{% endif %}
{% endfor %}
</ul>
Expand Down
6 changes: 3 additions & 3 deletions _layouts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,10 @@ ul.social-but-img li a {
transition: all .3s;
}

.img-iconimg {
width: 40px;
height: 40px;
.img-responsive-iconimg {
width:100% \9;
max-width:100%;
height:auto
}

.address {
Expand Down

0 comments on commit 9356c83

Please sign in to comment.