Skip to content

Commit

Permalink
fix: inner width compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
helloqian12138 committed Jan 22, 2025
1 parent 3d3fd2c commit 4c8ab79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/drip-table-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drip-table-generator",
"version": "3.2.2-alpha.10",
"version": "3.2.2-alpha.11",
"description": "A visualization tool for generating schema of drip-table.",
"main": "dist/index.min.js",
"module": "lib/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function EditableTable<
display: 'flex',
overflow: 'auto',
height: tableHeight,
width: props.tableConfig.configs.scroll?.x ? Number(props.tableConfig.configs.scroll?.x) : void 0,
width: props.tableConfig.configs.scroll?.x ? Number(props.tableConfig.configs.scroll?.x) - 120 : void 0,
}}
>
<LeftFixedColumns<RecordType, ExtraOptions>
Expand Down

0 comments on commit 4c8ab79

Please sign in to comment.