Преглед на файлове

height :auto, for displaying images without distortion.

jonndoe преди 5 години
родител
ревизия
20fdd22226
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      bakerydemo/static/css/main.css

+ 5 - 0
bakerydemo/static/css/main.css

@@ -161,6 +161,11 @@ img {
   display: block;
   width: 100%;
 }
+figure img {
+  display: block;
+  width: 100%;
+  height: auto;
+}
 
 /* Generic detail page styles */
 .intro {