diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-26 18:07:54 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-26 18:07:54 -0400 |
commit | a904a5fd2d33fd4783a45b3411c9309cc25ad0fd (patch) | |
tree | 472ba09ae9a3019db40599ccbe11e44ec6837174 /src | |
parent | 139d58d68f022c308664ef9e0ba19df851801afb (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 52e8b92a1..724044295 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -446,7 +446,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum } scrollXf = () => this.props.ScreenToLocalTransform().translate(NumCast(this.layoutDoc._scrollLeft), NumCast(this.layoutDoc._scrollTop)); render() { - return (<div className="webBox" style={{ width: Number.isFinite(this.props.ContentScaling()) ? `${Math.max(100, 100 / this.props.ContentScaling())} % ` : "100%" }}> + return (<div className="webBox" style={{ width: Number.isFinite(this.props.ContentScaling()) ? `${Math.max(100, 100 / this.props.ContentScaling())}% ` : "100%" }}> <div className={`webBox-container`} style={{ transform: `scale(${this.props.ContentScaling()})`, |