diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-23 11:57:22 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-09-01 14:15:38 +0200 |
commit | 062e7dfd0908871643f18afcfa3378752de07b84 (patch) | |
tree | a01e863c7969174441ae3bdcad9e1db6bd302dbe /apps/files | |
parent | 03b9047e95be95592773d01b8e86cf03ee9a9f0a (diff) | |
download | nextcloud-server-062e7dfd0908871643f18afcfa3378752de07b84.tar.gz nextcloud-server-062e7dfd0908871643f18afcfa3378752de07b84.zip |
Expose full page sidebar state to main app content
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/views/Sidebar.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index 36ebef7d070..62399fd4ac0 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -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') + } }, /** |