diff --git a/core/css/styles.scss b/core/css/styles.scss index 36da94a2e2b6b..92d4e2c8a1492 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -787,7 +787,6 @@ code { max-height: 36px; max-width: 36px; background-color: var(--color-background-dark); - border: 1px solid var(--color-border-dark); border-radius: var(--border-radius-pill); position: relative; left: 15px; @@ -797,8 +796,8 @@ code { .icon.icon-add{ background-image: var(--icon-add-000); background-size: 16px 16px; - width: 34px; - height: 34px; + width: 36px; + height: 36px; margin: 0px; opacity: 0.5; } diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 12a56ff75551f..9ef4ac1925174 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -321,7 +321,7 @@ const Dialogs = { var newButton = self.$filePicker.find('.actions.creatable .button-add') if (type === self.FILEPICKER_TYPE_CHOOSE && !options.allowDirectoryChooser) { - newButton.hide() + self.$filePicker.find('.actions.creatable').hide() } newButton.on('focus', function() { self.$filePicker.ocdialog('setEnterCallback', function() {