fixed images display on smaller screens
[theme-danix.xyz.git] / assets / sass / components / _image.scss
index 67f156c..ed82f28 100644 (file)
 \r
                        img {\r
                                width: 100%;\r
+                               height: auto;\r
                        }\r
                        div.picture {\r
+                               width: 100%;\r
                                max-width: 100%;\r
-                               height: auto;\r
                        }\r
                }\r
 \r
 \r
                        img {\r
                                width: 100%;\r
+                               height: auto;\r
                                max-width: 100%;\r
                        }\r
                        div.picture {\r
+                               width: 100%;\r
                                max-width: 100%;\r
-                               height: auto;\r
                        }\r
 \r
                        @include breakpoint('<=small') {\r