From 811b9448cbd9aa0e00dfcec4b1285404ef5c02f1 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 24 May 2016 15:38:37 +0100 Subject: [PATCH] Fix upload area cutting inner content popups --- .../src/components/upload-button.component.spec.ts | 10 +++++----- .../src/components/upload-drag-area.component.css | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.spec.ts b/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.spec.ts index 7f5ef40b50..521d8f7d61 100644 --- a/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.spec.ts +++ b/ng2-components/ng2-alfresco-upload/src/components/upload-button.component.spec.ts @@ -34,7 +34,7 @@ describe('AlfrescoUploadButton', () => { }); it('should render upload-single-file button as default', - injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { + injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => { return tcb .createAsync(UploadButtonComponent) .then((fixture) => { @@ -45,7 +45,7 @@ describe('AlfrescoUploadButton', () => { })); it('should render upload-multiple-file button if multipleFiles is true', - injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { + injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => { return tcb .createAsync(UploadButtonComponent) .then((fixture) => { @@ -58,7 +58,7 @@ describe('AlfrescoUploadButton', () => { })); it('should render an uploadFolder button if uploadFolder is true', - injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { + injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => { return tcb .createAsync(UploadButtonComponent) .then((fixture) => { @@ -70,7 +70,7 @@ describe('AlfrescoUploadButton', () => { }); })); - it('should call onFilesAdded method', injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { + it('should call onFilesAdded method', injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => { return tcb .createAsync(UploadButtonComponent) .then((fixture) => { @@ -89,7 +89,7 @@ describe('AlfrescoUploadButton', () => { })); it('should render dialog box with css class show', - injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { + injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => { return tcb .createAsync(UploadButtonComponent) .then((fixture) => { diff --git a/ng2-components/ng2-alfresco-upload/src/components/upload-drag-area.component.css b/ng2-components/ng2-alfresco-upload/src/components/upload-drag-area.component.css index 321d47265f..c8ec7cb0a9 100644 --- a/ng2-components/ng2-alfresco-upload/src/components/upload-drag-area.component.css +++ b/ng2-components/ng2-alfresco-upload/src/components/upload-drag-area.component.css @@ -3,7 +3,6 @@ color: #555; padding: 20px; text-align: center; - overflow-y: hidden; } .input-focus {