From 0003795103f4631744b95bf6cf2bb679950ed3bd Mon Sep 17 00:00:00 2001 From: Christina Toegl <toegl@tugraz.at> Date: Wed, 16 Feb 2022 07:29:30 +0100 Subject: [PATCH] Change styles for new folder dialog --- packages/file-handling/src/nextcloud-file-picker.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/file-handling/src/nextcloud-file-picker.js b/packages/file-handling/src/nextcloud-file-picker.js index bab7d3f6..ada5b27d 100644 --- a/packages/file-handling/src/nextcloud-file-picker.js +++ b/packages/file-handling/src/nextcloud-file-picker.js @@ -1903,7 +1903,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { // Click handler should ignore first click this.initateOpenNewFolder = true; - // give the browser a chance to paint before selecting + // Give the browser a chance to paint before selecting setTimeout(() => { this._('#tf-new-folder-dialog').select(); }, 0); @@ -3017,6 +3017,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { display: block; padding-left: 0px; padding-right: 0px; + overflow: unset; } #new-folder-modal-content div .input { @@ -3024,7 +3025,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { } #new-folder-modal-content .nf-label { - padding-bottom: 1px; + padding-bottom: 2px; } @media only screen and (orientation: portrait) and (max-width: 768px) { -- GitLab