diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css index 72ab4fe..d7d84a3 100644 --- a/make_post_sell/static/css/common.css +++ b/make_post_sell/static/css/common.css @@ -268,10 +268,11 @@ img.product-thumbnail { height: auto; } -img.product-main { - max-width: 100% !important; - width: auto !important; - height: auto !important; +.product-images img.product-main, +div.product-images img.product-main { + max-width: 100%; + width: auto; + height: auto; } /* Prevent content sections from overflowing */ @@ -978,6 +979,14 @@ textarea.markup-editor-textarea { /* On mobile, reorder to put purchase section after images */ .product-images { order: 1; + max-width: 100%; + overflow-x: auto; + } + + .product-images img.product-main { + max-width: 100%; + width: auto; + height: auto; } section.product-right {