arreglitos esteticos
This commit is contained in:
@@ -92,11 +92,13 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- GRILLA DE PRODUCTOS -->
|
||||
<!-- GRILLA DE PRODUCTOS -->
|
||||
@if ($products->count() > 0)
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
@foreach ($products as $product)
|
||||
<div class="group p-4 border bg-stone-200/30 dark:bg-neutral-950/30 border-neutral-200 dark:border-neutral-800 rounded-xl hover:border-lime-500 hover:dark:border-neon-lime hover:-translate-y-1 transition-all duration-300">
|
||||
<!-- ACÁ ESTÁ EL PRIMER CAMBIO: Agregamos "flex flex-col h-full" -->
|
||||
<div class="group flex flex-col h-full p-4 border bg-stone-200/30 dark:bg-neutral-950/30 border-neutral-200 dark:border-neutral-800 rounded-xl hover:border-lime-500 hover:dark:border-neon-lime hover:-translate-y-1 transition-all duration-300">
|
||||
|
||||
{{-- Imagen si existe --}}
|
||||
@if (!empty($product->image_path))
|
||||
@@ -108,7 +110,8 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<h2 class="text-lg font-semibold text-black dark:text-white">{{ $product->name }}</h2>
|
||||
<!-- ACÁ ESTÁ EL SEGUNDO CAMBIO: Agregamos "flex-1" al título -->
|
||||
<h2 class="text-lg font-semibold text-black dark:text-white flex-1">{{ $product->name }}</h2>
|
||||
|
||||
{{-- Precio --}}
|
||||
@if (!empty($product->price))
|
||||
|
||||
Reference in New Issue
Block a user