From 697b54632428f4745140ce28607d1198ef6776f8 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Wed, 24 Jun 2020 15:28:55 +0200 Subject: [PATCH] Fix Nextcloud button hiding (part 2) --- packages/file-handling/src/fileupload.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/file-handling/src/fileupload.js b/packages/file-handling/src/fileupload.js index c7e42969..78a05770 100644 --- a/packages/file-handling/src/fileupload.js +++ b/packages/file-handling/src/fileupload.js @@ -414,8 +414,6 @@ export class FileUpload extends ScopedElementsMixin(VPULitElement) { ${commonStyles.getGeneralCSS()} ${commonStyles.getButtonCSS()} - .hidden { display: none; } - #dropArea { border: var(--FUBorderWidth, 2px) var(--FUBorderStyle, dashed) var(--FUBBorderColor, black); border-radius: var(--FUBorderRadius, 0); @@ -441,6 +439,10 @@ export class FileUpload extends ScopedElementsMixin(VPULitElement) { margin-left: 8px; } + #nextcloud-file-picker.hidden { + display: none; + } + .block { margin-bottom: 10px; } -- GitLab