diff options
author | bobzel <zzzman@gmail.com> | 2025-02-25 01:03:25 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-02-25 01:03:25 -0500 |
commit | 515707c4561eb526426b8fa07dd50bd499fb91cc (patch) | |
tree | f4cbc69387da19add6dbc88acecbcdbdca575039 /src/client/views/nodes/DocumentView.tsx | |
parent | 30b07ed24fbe5e6d49741bc63031807408cd4a0c (diff) |
added a hideUI option to hide buttons. fixed a mess of runtime warnings mostly related to how scss files can be included in each other
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-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 441d6053f..b40ead03a 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -778,7 +778,7 @@ export class DocumentViewInternal extends DocComponent<FieldViewProps & Document style={{ width: `${100 / this.uiBtnScaling}%`, // transform: `scale(${this.uiBtnScaling})`, - bottom: this.maxWidgetSize, + bottom: Number.isNaN(this.maxWidgetSize) ? undefined : this.maxWidgetSize, }}> {this._props.DocumentView?.() ? <TagsView Views={[this._props.DocumentView?.()]} /> : null} </div> |