From d6be51de7629b8fec5484fac313095e8df16caa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 21 Sep 2021 16:29:08 +0200 Subject: [PATCH] Fix theming problems on account settings and custom-status modals (#1202) Co-authored-by: Scott Bishel Co-authored-by: Hossein --- mattermost-plugin/webapp/src/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mattermost-plugin/webapp/src/index.tsx b/mattermost-plugin/webapp/src/index.tsx index 5ae39398f..1c5290765 100644 --- a/mattermost-plugin/webapp/src/index.tsx +++ b/mattermost-plugin/webapp/src/index.tsx @@ -69,6 +69,7 @@ const MainApp = (props: Props) => { useEffect(() => { document.body.classList.add('focalboard-body') + document.body.classList.add('app__body') const root = document.getElementById('root') if (root) { root.classList.add('focalboard-plugin-root') @@ -76,6 +77,7 @@ const MainApp = (props: Props) => { return () => { document.body.classList.remove('focalboard-body') + document.body.classList.remove('app__body') if (root) { root.classList.remove('focalboard-plugin-root') }