From 73dec0f973be7007093fcfd145f166d47a35cd97 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 15 Mar 2021 22:38:21 -0400
Subject: from last

---
 src/client/views/nodes/WebBox.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/nodes/WebBox.tsx')

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
-- 
cgit v1.2.3-70-g09d2

