fix: styling
This commit is contained in:
@@ -65,16 +65,10 @@
|
|||||||
|
|
||||||
{% if cart.items.count > 0 %}
|
{% if cart.items.count > 0 %}
|
||||||
<a href="{% url 'web:cart_detail' %}"
|
<a href="{% url 'web:cart_detail' %}"
|
||||||
class="mb-2 me-2 inline-flex w-full items-center justify-center rounded-lg bg-gray-200 px-5 py-2.5 text-sm
|
|
||||||
font-medium dark:text-white hover:bg-gray-300 focus:outline-none focus:ring-4 focus:ring-gray-300
|
|
||||||
dark:bg-gray-600 dark:hover:bg-gray-700 dark:focus:ring-gray-800"
|
|
||||||
role="button"> {% translate 'Ver carrito' %}
|
|
||||||
</a>
|
|
||||||
<a href="#" title=""
|
|
||||||
class="mb-2 me-2 inline-flex w-full items-center justify-center rounded-lg bg-primary-700 px-5 py-2.5 text-sm
|
class="mb-2 me-2 inline-flex w-full items-center justify-center rounded-lg bg-primary-700 px-5 py-2.5 text-sm
|
||||||
font-medium text-white hover:bg-primary-800 focus:outline-none focus:ring-4 focus:ring-primary-300
|
font-medium text-white hover:bg-primary-800 focus:outline-none focus:ring-4 focus:ring-primary-300
|
||||||
dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"
|
dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"
|
||||||
role="button"> {% translate 'Comprar' %}
|
role="button"> {% translate 'Ver carrito' %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-2 p-6 border border-gray-100 rounded-md dark:border-gray-600">
|
<div class="mt-4 p-6 border border-gray-100 rounded-md dark:border-gray-600">
|
||||||
<div class="flex space-x-4">
|
<div class="flex space-x-4">
|
||||||
<div>
|
<div>
|
||||||
<h3 class="flex items-center text-xl font-bold leading-none text-gray-900 dark:text-white sm:text-2xl">
|
<h3 class="flex items-center text-xl font-bold leading-none text-gray-900 dark:text-white sm:text-2xl">
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<hr class="h-px my-2 bg-gray-200 border-0 dark:bg-gray-700">
|
<hr class="h-px my-2 bg-gray-200 border-0 dark:bg-gray-700">
|
||||||
|
|
||||||
{% if customer_addresses.count == 0 %}
|
{% if customer_addresses.count == 0 %}
|
||||||
<span>No hay ninguna dirección</span>
|
<span class="text-gray-500 dark:text-gray-400">{% translate 'No hay ninguna dirección' %}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for address in customer_addresses %}
|
{% for address in customer_addresses %}
|
||||||
|
|||||||
Reference in New Issue
Block a user