diff options
author | kimdahey <claire_kim1@brown.edu> | 2019-07-29 15:46:27 -0400 |
---|---|---|
committer | kimdahey <claire_kim1@brown.edu> | 2019-07-29 15:46:27 -0400 |
commit | 6079237a6a18bf63d18a9f471baadc9b48d9f105 (patch) | |
tree | fe25795d8e3025a69b543feb30d8c2d83f799ef6 /src | |
parent | c19fc89ebbaec30ff284988b7234815d822bbe0a (diff) |
fixed column width not adjusting with omitted + ADD NEW / NEW GROUP
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionStackingViewFieldColumn.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx index 9e39d5383..7727a23c7 100644 --- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx @@ -239,7 +239,7 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC }; let headingView = this.props.headingObject ? <div key={heading} className="collectionStackingView-sectionHeader" ref={this._headerRef} - style={{ width: (style.columnWidth) / (uniqueHeadings.length + 1) }}> + style={{ width: (style.columnWidth) / (uniqueHeadings.length + (this.props.parent.props.CollectionView.props.Document.chromeStatus !== 'disabled' ? 1 : 0)) }}> {/* the default bucket (no key value) has a tooltip that describes what it is. Further, it does not have a color and cannot be deleted. */} <div className="collectionStackingView-sectionHeader-subCont" onPointerDown={this.headerDown} |