From c431041e3f33128be892c94ad8e2d0a4c74a5dc6 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 26 Jun 2017 15:53:29 +0200 Subject: [PATCH] Fix position of the rightside drawer with small screen --- customize.dist/src/less/toolbar.less | 2 +- customize.dist/toolbar.css | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/customize.dist/src/less/toolbar.less b/customize.dist/src/less/toolbar.less index 00389004b..3a01e9a78 100644 --- a/customize.dist/src/less/toolbar.less +++ b/customize.dist/src/less/toolbar.less @@ -831,7 +831,7 @@ body { .drawer-content { position: absolute; right:0px; - top:96px; + margin-top: 32px; min-width: 50px; background: white; border: 1px solid black; diff --git a/customize.dist/toolbar.css b/customize.dist/toolbar.css index a7e19294f..bf075cd51 100644 --- a/customize.dist/toolbar.css +++ b/customize.dist/toolbar.css @@ -1350,7 +1350,7 @@ body.app-file .cryptpad-toolbar .dropdown-bar-content p .accountData { .cryptpad-toolbar-rightside .drawer-content { position: absolute; right: 0px; - top: 96px; + margin-top: 32px; min-width: 50px; background: white; border: 1px solid black; diff --git a/package.json b/package.json index aa6aad896..f606c8a86 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "scripts": { "lint": "jshint --config .jshintrc --exclude-path .jshintignore .", "test": "node TestSelenium.js", - "style": "lessc ./customize.dist/src/less/cryptpad.less > ./customize.dist/main.css && lessc ./customize.dist/src/less/toolbar.less > ./customize.dist/toolbar.css && lessc ./www/drive/file.less > ./www/drive/file.css && lessc ./www/settings/main.less > ./www/settings/main.css && lessc ./www/slide/slide.less > ./www/slide/slide.css && lessc ./www/whiteboard/whiteboard.less > ./www/whiteboard/whiteboard.css && lessc ./www/poll/poll.less > ./www/poll/poll.css && lessc ./www/file/file.less > ./www/file/file.css && lessc ./www/code/code.less > ./www/code/code.css", + "style": "lessc ./customize.dist/src/less/cryptpad.less > ./customize.dist/main.css && lessc ./customize.dist/src/less/toolbar.less > ./customize.dist/toolbar.css && lessc ./www/drive/file.less > ./www/drive/file.css && lessc ./www/settings/main.less > ./www/settings/main.css && lessc ./www/whiteboard/whiteboard.less > ./www/whiteboard/whiteboard.css && lessc ./www/poll/poll.less > ./www/poll/poll.css && lessc ./www/file/file.less > ./www/file/file.css && lessc ./www/code/code.less > ./www/code/code.css", "template": "cd customize.dist/src && for page in ../index.html ../privacy.html ../terms.html ../about.html ../contact.html ../../www/login/index.html ../../www/register/index.html ../../www/settings/index.html ../../www/user/index.html;do echo $page; cp template.html $page; done;" } }