Fix Layout

This commit is contained in:
Thanakarn Klangkasame
2025-10-08 13:28:53 +07:00
parent a1f60fd12e
commit 1c840420b3
3 changed files with 4 additions and 4 deletions

View File

@@ -905,7 +905,7 @@ export default function OrdersPage() {
}, [visibleCols]);
return (
<div className="space-y-6">
<div className="space-y-6 overflow-x-clip">
{/* ส่วนหัว */}
<div className="flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between">
<div>
@@ -998,7 +998,7 @@ export default function OrdersPage() {
{/* ตาราง (2 ชั้น) — ไม่ fix size: ใช้ table-auto, ให้คอนเทนต์กำหนดความกว้าง, บรรทัดเดียวทุกเซลล์ */}
<section className="rounded-3xl border border-neutral-200/70 bg-white/80 p-5 shadow-[0_10px_30px_-12px_rgba(0,0,0,0.08)]">
<div className="overflow-x-auto">
<div className="w-full max-w-full overflow-x-auto">
<table className="table-auto text-sm">
<thead>
{/* ชั้นบน: กลุ่มหัวข้อ (ไทย) */}