diff --git a/CHANGELOG.md b/CHANGELOG.md index 87e894987..e5c99d696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Restore staging server toggle [issue 514](https://github.com/nextstrain/auspice/issues/514) + ## version 1.14.3 - 2018/03/01 * Bug fix where tip colours reverted to their initial colours after a layout change. [issue 519](https://github.com/nextstrain/auspice/issues/519) diff --git a/src/components/app.js b/src/components/app.js index 59de734f8..da2f23fff 100644 --- a/src/components/app.js +++ b/src/components/app.js @@ -10,7 +10,7 @@ import { Entropy } from "./entropy"; import Map from "./map/map"; import Info from "./info/info"; import Tree from "./tree"; -import { controlsHiddenWidth, controlsWidth, controlsPadding } from "../util/globals"; +import { controlsHiddenWidth, controlsWidth, controlsPadding, titleBarHeight } from "../util/globals"; import { sidebarColor } from "../globalStyles"; import TitleBar from "./framework/title-bar"; import Footer from "./framework/footer"; @@ -72,10 +72,11 @@ const Contents = ({showSpinner, styles, availableWidth, availableHeight, panels, const Sidebar = ({show, narrative, styles}) => { if (!show) return null; + const innerH = styles.height - titleBarHeight; return (