diff options
author | bobzel <zzzman@gmail.com> | 2020-11-04 15:41:12 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-11-04 15:41:12 -0500 |
commit | 4becefec2200632b482b7660bd3bb0792a4ba1d8 (patch) | |
tree | dfce70150fd58e535783bd7e746a515bb3d85c9c | |
parent | 7ec8db4f2ebdd0ce9e829becf9b3cca289eed7c5 (diff) |
made font size of tree view ignore font size of document
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 3ebaad0a3..4efa5d67f 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -1157,7 +1157,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu background: finalColor, opacity: finalOpacity, fontFamily: StrCast(this.Document._fontFamily, "inherit"), - fontSize: Cast(this.Document._fontSize, "string", null), + fontSize: !this.props.treeViewDoc ? Cast(this.Document._fontSize, "string", null) : undefined, }}> {this.onClickHandler && this.props.ContainingCollectionView?.props.Document._viewType === CollectionViewType.Time ? <> {this.innards} |