diff --git a/packages/file-handling/src/dbp-nextcloud-file-picker.js b/packages/file-handling/src/dbp-nextcloud-file-picker.js index 02a24ad6e3ec8807f03607902f159fa596942b62..2964caf05b5a83b7ecc35e750ddded5eb2108804 100644 --- a/packages/file-handling/src/dbp-nextcloud-file-picker.js +++ b/packages/file-handling/src/dbp-nextcloud-file-picker.js @@ -1302,10 +1302,10 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { .inline-block{ position: absolute; - right: 52px; + right: 0px; z-index: 1; background-color: white; - bottom: 0px; + bottom: -45px; } .addRowAnimation{ @@ -1355,14 +1355,14 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { #select-all-wrapper{ - text-align: center; + text-align: right; } .nextcloud-nav a{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - max-width: 100px; + max-width: 130px; } @@ -1376,7 +1376,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { } .add-folder{ position: absolute; - bottom: 5px; right: 0px; } .nextcloud-nav{ @@ -1389,7 +1388,11 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { .inline-block{ width: inherit; - + position: absolute; + right: 52px; + z-index: 1; + background-color: white; + bottom: 0px; } .add-folder-button{ diff --git a/packages/file-handling/src/file-sink.js b/packages/file-handling/src/file-sink.js index 4eccabfb3120a7edcf706c014613589ef347a01f..e03de14e1b380c15e6a1795a986f5b8e98fa6493 100644 --- a/packages/file-handling/src/file-sink.js +++ b/packages/file-handling/src/file-sink.js @@ -287,7 +287,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) { <div class="source-main ${classMap({"hidden": this.activeTarget !== "nextcloud" || this.nextcloudWebDavUrl === "" || this.nextcloudAuthUrl === ""})}"> <dbp-nextcloud-file-picker id="nextcloud-file-picker" class="${classMap({hidden: this.nextcloudWebDavUrl === "" || this.nextcloudAuthUrl === ""})}" - directories-only + directories-only="true" max-selected-items="1" select-button-text="${i18n.t('file-sink.select-directory')}" ?disabled="${this.disabled}"