260831_01_ENH: 데이터 테이블 overflow-x 적용

This commit is contained in:
2026-08-31 11:58:42 +09:00
parent c73093f34f
commit 63fff1ff25
2 changed files with 12 additions and 1 deletions

View File

@@ -251,6 +251,17 @@ When implementation is complete, report in Korean:
- Validate external data at runtime; a shared TypeScript type alone does not validate an API response or persisted value.
- Prefer named public exports and retain the consumer project's current module system and bundler conventions.
### React Compiler and Manual Memoization
- `createKriNextConfig` enables `reactCompiler: true` unless the project overrides it; confirm the effective configuration.
- When enabled, rely on React Compiler instead of adding `useMemo`, `useCallback`, or `React.memo` as a routine performance precaution.
- Use manual memoization only for required reference stability, an Effect or third-party contract, compiler-incompatible code, or a measured performance problem.
- Preserve existing memoization unless approved and verified for removal. Use `"use memo"` or `"use no memo"` only for a documented compiler boundary.
### Project Instruction Budget
- Keep `.agent/project.md` at or below 8 KiB (8,192 bytes) as the normal target. Do not delete material rules merely to meet the budget; move schemas, endpoint inventories, examples, and temporary issue history to linked project documentation, and keep concise read-routing instructions here.
### Change Safety
- Pin or constrain the package version according to the consumer repository's dependency policy and commit its lockfile changes.

View File

@@ -200,7 +200,7 @@ export function DataTable<TData, TValue = unknown>({
<div className="rounded-md border">
<div
ref={scrollContainerRef}
className="relative w-full overflow-visible"
className="relative w-full overflow-x-auto"
style={maxBodyHeight ? { maxHeight: maxBodyHeight } : undefined}
>
<table className="w-full caption-bottom text-sm">