diff options
author | bobzel <zzzman@gmail.com> | 2021-03-15 22:38:21 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-15 22:38:21 -0400 |
commit | 73dec0f973be7007093fcfd145f166d47a35cd97 (patch) | |
tree | ce1e72cddbe567321bb681a7c445815f2cb5778b /src | |
parent | db76556dd1f5c8e6c04a388f5b0f6a46f223efce (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index 764dcd7a3..19a5945e2 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -550,7 +550,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum <base target="_blank" /> <div className={"webBox-outerContent"} ref={this._outerRef} style={{ - width: `calc(${100 / scale}% - ${this.sidebarWidth()}px)`, + width: `calc(${100 / scale}% - ${this.sidebarWidth() / scale}px)`, height: `${100 / scale}%`, transform: `scale(${scale})`, pointerEvents: inactiveLayer ? "none" : undefined |