Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/views/Sidebar.vue5
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')
+ }
},
/**