diff options
-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') + } }, /** |