diff options
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx')
-rw-r--r-- | src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx index 55cfa3348..1167a0ea8 100644 --- a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx @@ -70,7 +70,7 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel } const endColValue = i == this.props.numGroupColumns - 1 ? this.props.PanelWidth : this.props.columnStartXCoords[i+1] // TODO make the math work here. 35 is half of 70, which is the current width of the divider - return endColValue - this.props.columnStartXCoords[i] - 35 + return endColValue - this.props.columnStartXCoords[i] - 30 } private dropDisposer?: DragManager.DragDropDisposer; @@ -246,7 +246,7 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel marginTop: 2 * this.props.yMargin, // width: (this.props.columnWidth) / // ((uniqueHeadings.length) || 1) - width: this.columnWidth + width: this.columnWidth - 20 }}> <div className="collectionNoteTakingView-sectionHeader-subCont" onPointerDown={this.headerDown} title={evContents === `No Value` ? @@ -283,7 +283,7 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel {!this.props.chromeHidden && type !== DocumentType.PRES ? <div className="collectionNoteTakingView-DocumentButtons" // style={{ width: this.props.columnWidth / this.props.numGroupColumns, marginBottom: 10 }}> - style={{ width: this.columnWidth, marginBottom: 10 }}> + style={{ width: this.columnWidth - 20, marginBottom: 10 }}> <div key={`${heading}-add-document`} className="collectionNoteTakingView-addDocumentButton"> <EditableView GetValue={returnEmptyString} |