Browse Source

Fix for product template

Vova Tkach 5 years ago
parent
commit
8956a3f6ee

+ 1 - 2
assets/template/shop_product_html_file.go

@@ -52,7 +52,7 @@ var VarShopProductHtmlFile = []byte(`{{template "header.html" .}}
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="row">
 				<div class="row">
-					<div class="col-md-6">
+					<div class="col-md-12">
 						{{if ne $.Data.Shop.Product.Content ""}}
 						{{if ne $.Data.Shop.Product.Content ""}}
 							<hr>
 							<hr>
 							<h3>Description</h3>
 							<h3>Description</h3>
@@ -77,7 +77,6 @@ var VarShopProductHtmlFile = []byte(`{{template "header.html" .}}
 							</table>
 							</table>
 						{{end}}
 						{{end}}
 					</div>
 					</div>
-					<div class="col-md-6"></div>
 				</div>
 				</div>
 			</div>
 			</div>
 			{{if $.Data.Shop.Product.HaveSpecs}}
 			{{if $.Data.Shop.Product.HaveSpecs}}

+ 1 - 2
hosts/localhost/template/shop-product.html

@@ -50,7 +50,7 @@
 					</div>
 					</div>
 				</div>
 				</div>
 				<div class="row">
 				<div class="row">
-					<div class="col-md-6">
+					<div class="col-md-12">
 						{{if ne $.Data.Shop.Product.Content ""}}
 						{{if ne $.Data.Shop.Product.Content ""}}
 							<hr>
 							<hr>
 							<h3>Description</h3>
 							<h3>Description</h3>
@@ -75,7 +75,6 @@
 							</table>
 							</table>
 						{{end}}
 						{{end}}
 					</div>
 					</div>
-					<div class="col-md-6"></div>
 				</div>
 				</div>
 			</div>
 			</div>
 			{{if $.Data.Shop.Product.HaveSpecs}}
 			{{if $.Data.Shop.Product.HaveSpecs}}