diff --git a/src/manage_packing_list_items.php b/src/manage_packing_list_items.php index f4dcd38..02ab572 100644 --- a/src/manage_packing_list_items.php +++ b/src/manage_packing_list_items.php @@ -159,17 +159,17 @@ $conn->close(); border: 1px solid #eee; border-radius: 8px; padding: 6px; text-align: center; background: #fff; display: flex; flex-direction: column; transition: transform 0.1s, box-shadow 0.1s; - height: 200px; + height: 165px; } .lager-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); } .lager-img-wrapper { - width: 100%; height: 90px; margin-bottom: 6px; display: flex; + width: 100%; height: 75px; margin-bottom: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; } .lager-img-wrapper img.lager-card-img { width: 100% !important; height: 100% !important; - max-width: 100% !important; max-height: 90px !important; + max-width: 100% !important; max-height: 75px !important; object-fit: contain !important; border-radius: 4px; } .lager-title { @@ -178,12 +178,12 @@ $conn->close(); flex-shrink: 0; } .lager-meta { - font-size: 0.7em; color: #6c757d; margin-bottom: 4px; + font-size: 0.7em; color: #6c757d; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; flex-shrink: 0; } .lager-controls { - display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: auto; + display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: auto; margin-bottom: 2px; } .table-status-text { font-size: 0.75em; color: #2e7d32; font-weight: 600; @@ -345,6 +345,27 @@ $conn->close(); +
+