From 0ec23be91b0029b4c87c6bbca1f0bfbfbc49e97f Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Wed, 23 Jun 2021 09:33:27 -0500 Subject: [PATCH] Fix React warning when mounting `` --- background.html | 22 ++++++++++++---------- stylesheets/_index.scss | 6 +++++- ts/background.ts | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/background.html b/background.html index 3591f294ac..3a6d4db925 100644 --- a/background.html +++ b/background.html @@ -1,4 +1,4 @@ - + @@ -352,17 +352,19 @@ -
-
+
+
+
-
- -
- - - +
+ +
+ + + +
+
-
diff --git a/stylesheets/_index.scss b/stylesheets/_index.scss index 66babfede4..e3b16fac6c 100644 --- a/stylesheets/_index.scss +++ b/stylesheets/_index.scss @@ -1,6 +1,10 @@ -// Copyright 2015-2020 Signal Messenger, LLC +// Copyright 2015-2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only +#app-container { + height: 100%; +} + .conversation-stack, .new-conversation, .inbox, diff --git a/ts/background.ts b/ts/background.ts index e4613a95dd..5a2970f7a2 100644 --- a/ts/background.ts +++ b/ts/background.ts @@ -1715,7 +1715,7 @@ export async function startApp(): Promise { cancelInitializationMessage(); render( window.Signal.State.Roots.createApp(window.reduxStore), - document.body + document.getElementById('app-container') ); const hideMenuBar = window.storage.get('hide-menu-bar', false); window.setAutoHideMenuBar(hideMenuBar);