Skip to content

Commit

Permalink
fix(file-uploader): add missing styles for components (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
snoopy-cat authored and GitHub Enterprise committed Jan 29, 2021
1 parent 0ced970 commit d8b7095
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Component, Input } from '@angular/core';
/** Shows the file name. */
@Component({
selector: 'nx-file-upload-name',
styleUrls: ['./file-uploader-name.component.scss'],
template: ` {{ name }} `,
})
export class NxFileUploaderItemName {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Component, Input } from '@angular/core';
/** Shows a file size in Megabyte (MB) or an alternative label while the file is uploading. */
@Component({
selector: 'nx-file-upload-size',
styleUrls: ['./file-uploader-size.component.scss'],
template: `
<span *ngIf="isUploading; else uploaded">{{ uploadingLabel }}</span>
<ng-template #uploaded>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Component, Input } from '@angular/core';
/** Shows the current uploading status of a file. */
@Component({
selector: 'nx-file-upload-status',
styleUrls: ['./file-uploader-status.component.scss'],
template: `
<nx-spinner *ngIf="isUploading" nxSize="medium"></nx-spinner>
<nx-icon
Expand Down

0 comments on commit d8b7095

Please sign in to comment.