{% extends "base.html" %} {% import "components/macros.html" as ui %} {% block title %}Tables - Design System Wiki{% endblock %} {% block content %}
A standardized container macro for table styling and scrollbar-fitting layout. It resolves common styling issues like corner clipping and header bleed-through.
The macro standardizes the background styling, shadows, rounded borders, vertical height bounds, and sticky headers.
| ID Code | Full Name | Position Title | Base Office | Current Shift Status | Actions & Config |
|---|---|---|---|---|---|
| #001_a9f | Arthur Dent | Sandwich Maker | Space Station 4 | ACTIVE | |
| #002_c3d | Tricia McMillan | Reporter / Anchor | Sector 12 Office | ON DUTY | |
| #003_e5f | Ford Prefect | Researcher | Betelgeuse V | TRAVELING | |
| #004_g7h | Zaphod Beeblebrox | Ex-President | Heart of Gold | SUSPENDED |
Tables are automatically styled with rounded-3xl corners and background styling. The table container is scrollable, displaying a native horizontal or vertical scrollbar as needed.
To prevent scrollbars from clipping at the corners of high-radius panels (like Shadcn's rounded-3xl panels), the border and shadow styling are kept on the outer wrapper, while the overflow scroll boundary is restricted to an inner container with slightly smaller radius adjustments (rounded-[22px]).