Skip to content

Commit

Permalink
Merge pull request #1954 from ewlarson/1953-svg-icon-alignment
Browse files Browse the repository at this point in the history
Resolve SVG icon alignment issues
  • Loading branch information
mejackreed committed Jul 26, 2018
2 parents 684baca + a63e396 commit 99878d4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/assets/stylesheets/blacklight/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
.blacklight-icons {
display: inline-block;
display: inline-flex;
height: $font-size-base;
vertical-align: text-top;
width: $font-size-base;
}

.blacklight-icons svg {
height: 1rem;
width: 1rem;
top: .125rem;
position: relative;
}

@each $color, $value in $theme-colors {
.btn-#{$color} {
.blacklight-icons g {
Expand Down

0 comments on commit 99878d4

Please sign in to comment.