From 953ff45085564fd946cc5a38901234aa0ba49dd2 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Mon, 3 Jul 2023 22:06:22 -0400 Subject: [PATCH] Fix layout of the management app with the demo bar in place (#1267) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The banner in #1229 pushes the bottom bar items (including version & “change server URL” button) out of view on Netlify builds. --- packages/desktop-client/src/components/App.js | 61 ++++++++++--------- upcoming-release-notes/1267.md | 6 ++ 2 files changed, 38 insertions(+), 29 deletions(-) create mode 100644 upcoming-release-notes/1267.md diff --git a/packages/desktop-client/src/components/App.js b/packages/desktop-client/src/components/App.js index e4e9634639..19e2ea5f75 100644 --- a/packages/desktop-client/src/components/App.js +++ b/packages/desktop-client/src/components/App.js @@ -94,42 +94,45 @@ class App extends Component { return (
{process.env.REACT_APP_REVIEW_ID && } - - {fatalError ? ( - <> - - - - ) : initializing ? ( - - ) : budgetId ? ( - - ) : ( - <> +
+ {fatalError ? ( + <> + + + + ) : initializing ? ( - - - )} + ) : budgetId ? ( + + ) : ( + <> + + + + )} - - + + +
); diff --git a/upcoming-release-notes/1267.md b/upcoming-release-notes/1267.md new file mode 100644 index 0000000000..5229b1f7f3 --- /dev/null +++ b/upcoming-release-notes/1267.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [j-f1] +--- + +Fix the “Change server” button being invisible on Netlify deploy previews