From e05c36b647e5cee3cd776f3c516bbce9d22154ac Mon Sep 17 00:00:00 2001 From: Dennis Heinrich Date: Mon, 7 Apr 2025 15:30:09 +0200 Subject: [PATCH] =?UTF-8?q?Design=20f=C3=BCr=20mehrere=20Artikel=20angepas?= =?UTF-8?q?st?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/style/stylesheet.css | 17 ++++++++++++----- index.html | 9 +++++---- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/assets/style/stylesheet.css b/assets/style/stylesheet.css index 8db66ae..2f9bb26 100644 --- a/assets/style/stylesheet.css +++ b/assets/style/stylesheet.css @@ -21,19 +21,26 @@ margin-left: 1em; font-weight: bold; } + [data-template] { display: none !important; } + .cart-items, .product-list, .alert, .navbar-brand, .settings-product-list { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; } -img { - user-select: none; - -webkit-user-select: none; - -webkit-user-drag: none; -} .product-box, .cart-items, .settings-product-list { cursor: pointer; +} + +.product-list { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(200px, 4fr)); + gap: .4em; +} + +.product-box .card-body span { + word-wrap: break-word; } \ No newline at end of file diff --git a/index.html b/index.html index dce857e..20daf74 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@
-
+
  • 5 @@ -43,18 +43,19 @@
  • -
    +
    - Produktbild + Produktbild
    - Wasser mit Kohlensäure + Wasser mit Kohlensäure
    +