Browse Source

Handle large images on bread detail page. Workson #57

Edd Baldry 8 năm trước cách đây
mục cha
commit
283422956f

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

@@ -766,7 +766,6 @@ span.outline {
 
 .bread-detail figure {
   margin: 35px auto 20px auto;
-  max-height: 300px;
   overflow: hidden;
 }
 

+ 1 - 1
bakerydemo/templates/breads/bread_page.html

@@ -26,7 +26,7 @@
             <div class="col-md-5 col-md-offset-1">
                 <div class="row">
                     <figure class="hidden-md-down">
-                        {% image self.image width-600 %}
+                        {% image self.image width-500 %}
                     </figure>
                     <ul class="bread-meta">
                         {% if page.origin %}