File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/drip-table-generator
src/layouts/table-workstation/editable-table Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " drip-table-generator" ,
3- "version" : " 3.2.2-alpha.9 " ,
3+ "version" : " 3.2.2-alpha.10 " ,
44 "description" : " A visualization tool for generating schema of drip-table." ,
55 "main" : " dist/index.min.js" ,
66 "module" : " lib/index.js" ,
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function EditableTable<
5353 } , [ props . tableConfig . configs . scroll ?. y ] ) ;
5454 const tableWidth = React . useMemo ( ( ) => {
5555 const defaultWidth = props . tableConfig . columns . length * 200 ;
56- return containerRef . current ?. getContainerWidth ?.( ) || defaultWidth ;
56+ return ( containerRef . current ?. getContainerWidth ?.( ) || defaultWidth ) - 120 ;
5757 } , [ ] ) ;
5858
5959 const dataSourceToUse = React . useMemo ( ( ) => {
You can’t perform that action at this time.
0 commit comments