1.2 KiB
1.2 KiB
Log: Balanced Table Column Spacing and Alignment
Trigger: Irregular table column gutters and values touching adjacent cells due to text header lengths breaking fixed table layout. Date: 2026-07-23 09:32 WIB Affected files:
src/app/(dashboard)/agents/columns.tsx
Solution
- Renamed column header
Historical Uptime(17 chars) toAvg Uptime(10 chars). This shortens the minimum width constraints. - Balanced the column widths proportionally:
UUID / Serial:12%(gives clean spacing for UUID text + chevron)Label:15%Provisioned: Increased to11%(ensures the header textProvisionedfits completely without squeezing)Activated: Increased to11%(ensures the header textActivatedfits completely without squeezing)Traffic Status: Adjusted to15%(fits headerTraffic Statusand row values perfectly)Avg Uptime:10%Data Size:10%Actions: Adjusted to16%Sum is exactly100%.
- Tightened action button paddings to
p-1and container gap togap-1, decreasing button sizes and centering the action buttons block with precision inside the16%width cell. - Next.js and TypeScript check both passed cleanly.