wr: 고정 width
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user