Add support for inline svg images

This commit is contained in:
Dan Gowans 2022-07-21 10:57:47 -04:00 committed by GitHub
parent cd0f024343
commit 76083b7c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,8 @@ $dimensions: 16 24 32 48 64 96 128 !default
.image
display: block
position: relative
img
img,
svg
display: block
height: auto
width: 100%
@ -31,6 +32,7 @@ $dimensions: 16 24 32 48 64 96 128 !default
&.is-1by2,
&.is-1by3
img,
svg,
.has-ratio
@extend %overlay
height: 100%