mirror of
https://github.com/pretix/pretix.git
synced 2026-05-13 16:33:59 +00:00
Improve margin arount product picture
This commit is contained in:
@@ -177,6 +177,7 @@
|
||||
alt="{{ item.name }}"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="product-description {% if item.picture %}with-picture{% endif %}">
|
||||
<a href="#" data-toggle="variations">
|
||||
<strong>{{ item.name }}</strong>
|
||||
</a>
|
||||
@@ -195,6 +196,7 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-xs-6 price">
|
||||
{% if item.min_price != item.max_price or item.free_price %}
|
||||
{% blocktrans trimmed with minprice=item.min_price|floatformat:2 currency=event.currency %}
|
||||
@@ -293,6 +295,7 @@
|
||||
alt="{{ item.name }}"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="product-description {% if item.picture %}with-picture{% endif %}">
|
||||
<strong>{{ item.name }}</strong>
|
||||
{% if item.description %}
|
||||
<div class="product-description">
|
||||
@@ -312,6 +315,7 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-xs-6 price">
|
||||
{% if item.free_price %}
|
||||
<div class="input-group input-group-price">
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
alt="{{ item.name }}"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="product-description {% if item.picture %}with-picture{% endif %}">
|
||||
<strong>{{ item.name }}</strong>
|
||||
{% if item.description %}
|
||||
<div class="product-description">
|
||||
@@ -52,6 +53,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-xs-6 price">
|
||||
{% if item.min_price != item.max_price or item.free_price %}
|
||||
{% blocktrans trimmed with minprice=item.min_price|floatformat:2 currency=event.currency %}
|
||||
@@ -135,6 +137,7 @@
|
||||
alt="{{ item.name }}"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="product-description {% if item.picture %}with-picture{% endif %}">
|
||||
<strong>{{ item.name }}</strong>
|
||||
{% if item.description %}
|
||||
<div class="product-description">
|
||||
@@ -142,6 +145,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 col-xs-6 price">
|
||||
{% if item.free_price %}
|
||||
<div class="input-group input-group-price">
|
||||
|
||||
@@ -30,6 +30,10 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.product-description.with-picture {
|
||||
margin-left: 70px;
|
||||
}
|
||||
|
||||
.productpicture {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
|
||||
Reference in New Issue
Block a user