aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TreeView.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-21 01:43:03 -0400
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-21 01:43:03 -0400
commit37be2477782b0b372c16d46df3f9634ebf3677fe (patch)
tree52c231f79d8ffbdff9ff4ea7070258750c40153d /src/client/views/collections/TreeView.tsx
parent17f9bbaa7070117475ac9dd02fa3b848aae9b238 (diff)
restyled document decorations
and changed novice mode to exclude `data` in treeView
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
-rw-r--r--src/client/views/collections/TreeView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx
index 833e364b3..b489b5214 100644
--- a/src/client/views/collections/TreeView.tsx
+++ b/src/client/views/collections/TreeView.tsx
@@ -736,7 +736,7 @@ export class TreeView extends React.Component<TreeViewProps> {
}}
/>
)}
- {this.doc.treeViewExpandedViewLock || Doc.IsSystem(this.doc) ? null : (
+ {Doc.noviceMode ? null : this.doc.treeViewExpandedViewLock || Doc.IsSystem(this.doc) ? null : (
<span className="collectionTreeView-keyHeader" title="type of expanded data" key={this.treeViewExpandedView} onPointerDown={this.expandNextviewType}>
{this.treeViewExpandedView}
</span>
@@ -953,7 +953,7 @@ export class TreeView extends React.Component<TreeViewProps> {
<div
className={`treeView-header` + (editing ? '-editing' : '')}
key="titleheader"
- style={{ width: StrCast(this.doc.treeViewHeaderWidth, 'max-content') }}
+ style={{ width: '100%' }}
ref={this._header}
onClick={this.ignoreEvent}
onPointerDown={this.ignoreEvent}