diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-12 14:34:09 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-12 14:34:09 -0500 |
| commit | 7fcf4c54c42b7eaa427ea88c0b8586a78d7f1859 (patch) | |
| tree | fb049b6364456e3b70c325c59efcee00c64d5557 /src/client/views/collections/CollectionMenu.tsx | |
| parent | fb4521e4275248ba463164e40aaaed04df65b050 (diff) | |
cleaning up freeformview code.
Diffstat (limited to 'src/client/views/collections/CollectionMenu.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionMenu.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx index f722682c9..22f0f8a1f 100644 --- a/src/client/views/collections/CollectionMenu.tsx +++ b/src/client/views/collections/CollectionMenu.tsx @@ -40,8 +40,6 @@ import { CollectionDockingView } from './CollectionDockingView'; import { CollectionFreeFormView } from './collectionFreeForm'; import { CollectionLinearView } from './collectionLinear'; import './CollectionMenu.scss'; -import { COLLECTION_BORDER_WIDTH } from './CollectionView'; -import { TabDocView } from './TabDocView'; interface CollectionMenuProps { panelHeight: () => number; @@ -1242,7 +1240,7 @@ export class CollectionSchemaViewChrome extends React.Component<CollectionViewMe @undoBatch togglePreview = () => { const dividerWidth = 4; - const borderWidth = Number(COLLECTION_BORDER_WIDTH); + const borderWidth = 0; const panelWidth = this.props.docView.props.PanelWidth(); const previewWidth = NumCast(this.document.schema_previewWidth); const tableWidth = panelWidth - 2 * borderWidth - dividerWidth - previewWidth; |
