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' %}
{% load bootstrap3 %}
{% load commonmark %}
{% block shop_content %}
<div class="col-md-8">
<div class="row">
<div class="col-xs-12 col-md-8">
<h2>{{ product.name }}</h2>
</div>
{{ product.description|commonmark }}
</div>
<div class="row">
<p>
{{ product.description }}
</p>
</div>
</div>
<div class="col-md-4">
<div class="col-xs-12 col-md-4">
<h3>Add to order</h3>
@ -49,6 +43,6 @@
{% endif %}
{% endblock %}
</div>
</div>