aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-15 22:38:21 -0400
committerbobzel <zzzman@gmail.com>2021-03-15 22:38:21 -0400
commit73dec0f973be7007093fcfd145f166d47a35cd97 (patch)
treece1e72cddbe567321bb681a7c445815f2cb5778b
parentdb76556dd1f5c8e6c04a388f5b0f6a46f223efce (diff)
from last
-rw-r--r--src/client/views/nodes/WebBox.tsx2
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