aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-02 10:16:11 -0400
committerbobzel <zzzman@gmail.com>2021-09-02 10:16:11 -0400
commit4e2e798e0d97858dd03748709d3d55f15a9a1360 (patch)
tree4940c2dc2239bcd6b73a567358eebced1394df65 /src/client/views/collections/TabDocView.tsx
parent01cab1fc7259f1a944fad49403328e70e9d61b97 (diff)
parent6a2be14c25313058ff466ed7c2a6631126616263 (diff)
Merge branch 'menu_updates_geireann' of https://github.com/brown-dash/Dash-Web into menu_updates_geireann
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
-rw-r--r--src/client/views/collections/TabDocView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index 889db1ef6..34cb6ec55 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -387,9 +387,10 @@ export class TabDocView extends React.Component<TabDocViewProps> {
background={this.miniMapColor}
document={this._document}
tabView={this.tabView} />
- <Tooltip style={{ display: this.disableMinimap() ? "none" : undefined }} key="ttip" title={<div className="dash-tooltip">{this._document.hideMinimap ? "Open minimap" : "Close minimap"}</div>}>
+ <Tooltip key="ttip" title={<div className="dash-tooltip">{this._document.hideMinimap ? "Open minimap" : "Close minimap"}</div>}>
<div className="miniMap-hidden"
style={{
+ display: this.disableMinimap() || this._document._viewType !== "freeform" ? "none" : undefined,
color: this._document.hideMinimap ? Colors.BLACK : Colors.WHITE,
backgroundColor: this._document.hideMinimap ? Colors.LIGHT_GRAY : Colors.MEDIUM_BLUE,
boxShadow: this._document.hideMinimap ? Shadows.STANDARD_SHADOW : undefined