Fix product detail template a bit for mobile.

This commit is contained in:
Víðir Valberg Guðmundsson 2016-05-30 22:28:17 +02:00
parent a4b578642d
commit 539b3ee105

View file

@ -1,23 +1,17 @@
{% extends 'shop_base.html' %} {% extends 'shop_base.html' %}
{% load bootstrap3 %} {% load bootstrap3 %}
{% load commonmark %}
{% block shop_content %} {% block shop_content %}
<div class="col-md-8">
<div class="row"> <div class="row">
<div class="col-xs-12 col-md-8">
<h2>{{ product.name }}</h2> <h2>{{ product.name }}</h2>
{{ product.description|commonmark }}
</div> </div>
<div class="row"> <div class="col-xs-12 col-md-4">
<p>
{{ product.description }}
</p>
</div>
</div>
<div class="col-md-4">
<h3>Add to order</h3> <h3>Add to order</h3>
@ -51,4 +45,4 @@
</div> </div>
</div>