wr: 고정 width

This commit is contained in:
2026-04-01 16:26:46 +09:00
parent 3efac843d4
commit f2be91986c
21 changed files with 264 additions and 697 deletions
@@ -190,7 +190,21 @@ export default function RainChkgdTable({
return (
<>
<Table variant="secondary">
<Table variant="secondary" className="table-fixed">
<colgroup>
{headList.headList
.filter((head) => head.visible !== false)
.map((head) => (
<col
key={head.id}
style={{
width: head.widthPercent
? `${head.widthPercent}%`
: undefined,
}}
/>
))}
</colgroup>
<TableHeader className="font-bold">
{headMakeprfmnc(
headList?.headList,
@@ -145,7 +145,21 @@ export default function RswtChkgdTable({
return (
<>
<Table variant="secondary">
<Table variant="secondary" className="table-fixed">
<colgroup>
{headList.headList
.filter((head) => head.visible !== false)
.map((head) => (
<col
key={head.id}
style={{
width: head.widthPercent
? `${head.widthPercent}%`
: undefined,
}}
/>
))}
</colgroup>
<TableHeader className="font-bold">
{headMakeprfmnc(headList?.headList, headList?.upHeadList)}
</TableHeader>