From 5e73c471b14d5007306fd1bedfdf349769bd5f82 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 19 Mar 2025 11:28:00 -0400 Subject: fixed mapBox full screen. fixed link following from node at start of texts (eg mapbox target in sidebar doc) --- src/client/views/nodes/MapBox/MapBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/views/nodes/MapBox/MapBox.tsx') diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index 80afcd802..e7aad7a82 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -1221,8 +1221,8 @@ export class MapBox extends ViewBoxAnnotatableComponent() { top: 0, left: 0, zIndex: '0', - width: NumCast(this.layoutDoc._width) * parscale, - height: NumCast(this.layoutDoc._height) * parscale, + width: this._props.PanelWidth() * parscale, + height: this._props.PanelHeight() * parscale, }} initialViewState={this._isAnimating ? undefined : this.mapboxMapViewState} onZoom={this.onMapZoom} -- cgit v1.2.3-70-g09d2