From 84b4a5b4824406ac7be942f8f4fc751cfa5c9d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sun, 29 Mar 2026 13:40:13 +0200 Subject: [PATCH] fix w css list --- shopping_app/static/css/style.css | 5 +++-- shopping_app/static/css/style_nieuporzadkowane.css | 5 +++-- shopping_app/static/css/style_old.css | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/shopping_app/static/css/style.css b/shopping_app/static/css/style.css index 3b15b2f..faf83ed 100644 --- a/shopping_app/static/css/style.css +++ b/shopping_app/static/css/style.css @@ -559,8 +559,9 @@ td select.tom-dark { justify-content: space-between; } -.list-group-item:first-child, -.list-group-item:last-child { +/* Zachowaj ostre krawędzie tylko dla list flush (np. w panelach edycji) */ +.list-group-flush > .list-group-item:first-child, +.list-group-flush > .list-group-item:last-child { border-radius: 0 !important; } diff --git a/shopping_app/static/css/style_nieuporzadkowane.css b/shopping_app/static/css/style_nieuporzadkowane.css index 67d7787..00d406c 100644 --- a/shopping_app/static/css/style_nieuporzadkowane.css +++ b/shopping_app/static/css/style_nieuporzadkowane.css @@ -559,8 +559,9 @@ td select.tom-dark { justify-content: space-between; } -.list-group-item:first-child, -.list-group-item:last-child { +/* Zachowaj ostre krawędzie tylko dla list flush (np. w panelach edycji) */ +.list-group-flush > .list-group-item:first-child, +.list-group-flush > .list-group-item:last-child { border-radius: 0 !important; } diff --git a/shopping_app/static/css/style_old.css b/shopping_app/static/css/style_old.css index bdf7f22..6e3a3db 100644 --- a/shopping_app/static/css/style_old.css +++ b/shopping_app/static/css/style_old.css @@ -303,8 +303,9 @@ input.form-control { display: none !important; } -.list-group-item:first-child, -.list-group-item:last-child { +/* Zachowaj ostre krawędzie tylko dla list flush (np. w panelach edycji) */ +.list-group-flush > .list-group-item:first-child, +.list-group-flush > .list-group-item:last-child { border-radius: 0 !important; }