mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-12-22 22:21:47 +01:00
Increase product density on basket form
This commit is contained in:
parent
93829df543
commit
346477be88
4 changed files with 4 additions and 4 deletions
|
@ -64,6 +64,7 @@ DEBUG = env("DEBUG")
|
|||
ALLOWED_HOSTS = ["localhost"] # Required for healthcheck
|
||||
if DEBUG:
|
||||
ALLOWED_HOSTS.append("127.0.0.1")
|
||||
ALLOWED_HOSTS.append("192.168.1.27")
|
||||
|
||||
ALLOWED_HOSTS.extend(env("HOSTS"))
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
.product-img-placeholder {
|
||||
aspect-ratio: 1/1;
|
||||
font-size: 6em;
|
||||
font-size: 3em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">{{ product.name }}</h4>
|
||||
<h5 class="card-title">{{ product.name }}</h5>
|
||||
<div class="input-group">
|
||||
<button class="btn btn-danger" type="button" onclick="decrementValue('{{ field.id_for_label }}')"><i class="fa-solid fa-minus"></i></button>
|
||||
{% crispy_field field 'class' 'form-control' 'inputmode' 'numeric' %}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">{{ product.name }}</h4>
|
||||
<h5 class="card-title">{{ product.name }}</h5>
|
||||
<div class="input-group">
|
||||
<input type="number" step="1" inputmode="numeric" min="0"
|
||||
name="unpriced_product-{{ product.pk }}" class="numberinput form-control" required="" id="unpriced_id_product-{{ product.pk }}"
|
||||
|
|
Loading…
Reference in a new issue