From a5ad21e3883953ccb23684af719ee3859f1489d3 Mon Sep 17 00:00:00 2001
From: 65160260 <65160260@go.buu.ac.th>
Date: Wed, 26 Mar 2025 03:10:57 +0000
Subject: [PATCH] Edit cart.php

---
 cart.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cart.php b/cart.php
index 12151b4..8328da0 100644
--- a/cart.php
+++ b/cart.php
@@ -53,6 +53,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
 <?php if (empty($cart_items)): ?>
     <p>ไม่มีสินค้าในตะกร้า</p>
 <?php else: ?>
+    <div class="table-container"> 
     <table border="1" cellpadding="5" cellspacing="0">
         <tr>
             <th>User ID</th>
@@ -89,6 +90,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
             <td colspan="2"><strong><?= number_format($total, 2) ?> บาท</strong></td>
         </tr>
     </table>
+    </div>
     <br>
     <a href="checkout.php">🛒 ดำเนินการชำระเงิน</a>
 <?php endif; ?>
-- 
GitLab