Skip to content

Commit

Permalink
Give arbitrary elements access to image/ratio responsive classes (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjv authored and jgthms committed Oct 31, 2018
1 parent 000b3ef commit 54954a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sass/elements/image.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ $dimensions: 16 24 32 48 64 96 128 !default
&.is-9by16,
&.is-1by2,
&.is-1by3
img
img,
.has-ratio
@extend %overlay
height: 100%
width: 100%
Expand Down

0 comments on commit 54954a2

Please sign in to comment.