Add spacing between open lot cards

This commit is contained in:
gitea_admin committed 2026-09-08 15:19:51 +02:00
1 parent ba65b05c08
commit 801695ea89
1 file changed
+1 -1
+1 -1
View File
@@ -331,7 +331,7 @@ function auth_render_lager_open_lots(array $lagerProducts, string $manufacturerO
$html = []; $html = [];
foreach ($lagerProducts as $product) { foreach ($lagerProducts as $product) {
$productId = (int) ($product['id'] ?? 0); $productId = (int) ($product['id'] ?? 0);
$html[] = '<div data-lager-open-product="' . $productId . '" hidden>'; $html[] = '<div class="sg-content-group-box" data-component="content-group-box" data-lager-open-product="' . $productId . '" hidden>';
foreach (($product['open_lots'] ?? []) as $lot) { foreach (($product['open_lots'] ?? []) as $lot) {
$lotId = (int) ($lot['lot_id'] ?? 0); $lotId = (int) ($lot['lot_id'] ?? 0);
$selectedClass = !empty($lot['next_active']) ? ' sg-lager-open-lot--next-active' : ''; $selectedClass = !empty($lot['next_active']) ? ' sg-lager-open-lot--next-active' : '';