diff options
| author | bobzel <zzzman@gmail.com> | 2021-04-19 12:27:33 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-04-19 12:27:33 -0400 |
| commit | 8824730d44f52ad41c2687205109a271f8c63e80 (patch) | |
| tree | 749c788afbe7b52fb3fe028e997c16859112d94e /src/client/views/collections | |
| parent | e26e07f6956c1a4cb7593f66fc88f219b7349e05 (diff) | |
started to cleanup comic mode.
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 983c3732f..7e2f7811e 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -350,7 +350,10 @@ export class TabDocView extends React.Component<TabDocViewProps> { render() { this.tab && CollectionDockingView.Instance.tabMap.delete(this.tab); return ( - <div className="collectionDockingView-content" style={{ height: "100%", width: "100%" }} ref={ref => { + <div className="collectionDockingView-content" style={{ + fontFamily: Doc.UserDoc().renderStyle === "comic" ? "Comic Sans MS" : undefined, + height: "100%", width: "100%" + }} ref={ref => { if (this._mainCont = ref) { (this._mainCont as any).InitTab = (tab: any) => this.init(tab, this._document); DocServer.GetRefField(this.props.documentId).then(action(doc => doc instanceof Doc && (this._document = doc) && this.tab && this.init(this.tab, this._document))); |
