Skip to content

Commit

Permalink
fix: update support of SVG in the slot
Browse files Browse the repository at this point in the history
  • Loading branch information
blackfalcon committed Aug 26, 2020
1 parent 02bfe81 commit 8f28aeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ $auro-inset-directions:'--squish';
}
}

// adjust alignment for slotted SVG icon
::slotted(svg) {
vertical-align: middle;
}

// Note: without this, events on a disabled element will still fire
slot {
pointer-events: none;
Expand Down

0 comments on commit 8f28aeb

Please sign in to comment.