fix: refactor css

This commit is contained in:
2025-01-28 17:21:57 +01:00
parent 33c5432019
commit 69fc6d4d5a
8 changed files with 107 additions and 33 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{% load i18n %}
<article>
<div
class="rounded-lg border border-gray-200 bg-white p-6 shadow-sm dark:border-gray-700 dark:bg-gray-800">
class="card">
<div class="h-56 w-full">
<a href="{% url 'web:product_detail' pk=product.pk slug=product.slug %}">
<img class="mx-auto h-full dark:hidden" src="{{ product.images.all|first }}"
@@ -13,7 +13,7 @@
<div class="pt-6">
<a href="{% url 'web:product_detail' pk=product.pk slug=product.slug %}"
class="text-lg font-semibold leading-tight text-gray-900 hover:underline dark:text-white">{{ product.name }}</a>
class="link">{{ product.name }}</a>
<!-- <div class="mt-2 flex items-center gap-2">-->
<!-- <div class="flex items-center">-->