mirror of
https://github.com/nextcloud/server.git
synced 2026-03-12 05:33:11 -04:00
Expose full page sidebar state to main app content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
03b9047e95
commit
062e7dfd09
1 changed files with 5 additions and 0 deletions
|
|
@ -459,6 +459,11 @@ export default {
|
|||
*/
|
||||
setFullScreenMode(isFullScreen) {
|
||||
this.isFullScreen = isFullScreen
|
||||
if (isFullScreen) {
|
||||
document.querySelector('#content').classList.add('with-sidebar--full')
|
||||
} else {
|
||||
document.querySelector('#content').classList.remove('with-sidebar--full')
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue