mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix upload area cutting inner content popups
This commit is contained in:
@@ -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) => {
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user