Fix upload area cutting inner content popups

This commit is contained in:
Denys Vuika
2016-05-24 15:38:37 +01:00
parent 60dd05bbc7
commit 811b9448cb
2 changed files with 5 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ describe('AlfrescoUploadButton', () => {
}); });
it('should render upload-single-file button as default', it('should render upload-single-file button as default',
injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => {
return tcb return tcb
.createAsync(UploadButtonComponent) .createAsync(UploadButtonComponent)
.then((fixture) => { .then((fixture) => {
@@ -45,7 +45,7 @@ describe('AlfrescoUploadButton', () => {
})); }));
it('should render upload-multiple-file button if multipleFiles is true', it('should render upload-multiple-file button if multipleFiles is true',
injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => {
return tcb return tcb
.createAsync(UploadButtonComponent) .createAsync(UploadButtonComponent)
.then((fixture) => { .then((fixture) => {
@@ -58,7 +58,7 @@ describe('AlfrescoUploadButton', () => {
})); }));
it('should render an uploadFolder button if uploadFolder is true', it('should render an uploadFolder button if uploadFolder is true',
injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => {
return tcb return tcb
.createAsync(UploadButtonComponent) .createAsync(UploadButtonComponent)
.then((fixture) => { .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 return tcb
.createAsync(UploadButtonComponent) .createAsync(UploadButtonComponent)
.then((fixture) => { .then((fixture) => {
@@ -89,7 +89,7 @@ describe('AlfrescoUploadButton', () => {
})); }));
it('should render dialog box with css class show', it('should render dialog box with css class show',
injectAsync([TestComponentBuilder], (tcb:TestComponentBuilder) => { injectAsync([TestComponentBuilder], (tcb: TestComponentBuilder) => {
return tcb return tcb
.createAsync(UploadButtonComponent) .createAsync(UploadButtonComponent)
.then((fixture) => { .then((fixture) => {

View File

@@ -3,7 +3,6 @@
color: #555; color: #555;
padding: 20px; padding: 20px;
text-align: center; text-align: center;
overflow-y: hidden;
} }
.input-focus { .input-focus {