1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-24 08:22:29 +02:00

Fix theming problems on account settings and custom-status modals (#1202)

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
This commit is contained in:
Jesús Espino 2021-09-21 16:29:08 +02:00 committed by GitHub
parent ec0fab5b03
commit d6be51de76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
}