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:
parent
ec0fab5b03
commit
d6be51de76
@ -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')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user