]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Give arbitrary elements access to image/ratio responsive classes (#592)
authorRoger Vandawalker <roger@vandawalker.com>
Wed, 31 Oct 2018 13:50:49 +0000 (09:50 -0400)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 31 Oct 2018 13:50:49 +0000 (13:50 +0000)
sass/elements/image.sass

index e1e877b176b8fc2fcd81940b7e5d046350cae29c..cfa64fef7211bd7c29ec657f0d9c1fc9f465f7e3 100644 (file)
@@ -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%