From 43d9d11a641e2654ee141a5e915cdf0244257b14 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Mon, 3 Mar 2025 13:54:27 -0300 Subject: [PATCH] now grid based --- lot/templates/list_lots.html | 41 ++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/lot/templates/list_lots.html b/lot/templates/list_lots.html index f79dbd3..926af8a 100644 --- a/lot/templates/list_lots.html +++ b/lot/templates/list_lots.html @@ -18,6 +18,13 @@ .lot-item.selected { background-color: #e2f0ff; } + + .lot-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); + gap: 15px; + padding: 15px; + }
@@ -40,23 +47,25 @@
- {% for lot in lots %} -
- -