diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-main/buttons/button.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/buttons/button.component.scss | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/buttons/button.component.html b/client/src/app/shared/shared-main/buttons/button.component.html index 3e3728623..bf0fb3916 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.html +++ b/client/src/app/shared/shared-main/buttons/button.component.html | |||
@@ -7,7 +7,7 @@ | |||
7 | </a> | 7 | </a> |
8 | 8 | ||
9 | <ng-template #content> | 9 | <ng-template #content> |
10 | <my-loader size="sm" [loading]="loading"></my-loader> | 10 | <my-loader size="sm" [ngClass]="{ displayed: loading }" [loading]="loading"></my-loader> |
11 | <my-global-icon *ngIf="icon && !loading" [iconName]="icon"></my-global-icon> | 11 | <my-global-icon *ngIf="icon && !loading" [iconName]="icon"></my-global-icon> |
12 | 12 | ||
13 | <span *ngIf="label" class="button-label">{{ label }}</span> | 13 | <span *ngIf="label" class="button-label">{{ label }}</span> |
diff --git a/client/src/app/shared/shared-main/buttons/button.component.scss b/client/src/app/shared/shared-main/buttons/button.component.scss index 611fc2094..964590e29 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.scss +++ b/client/src/app/shared/shared-main/buttons/button.component.scss | |||
@@ -29,7 +29,7 @@ span[class$=-button] { | |||
29 | .action-button { | 29 | .action-button { |
30 | width: 100%; // useful for ellipsis, allow to define a max-width on host component | 30 | width: 100%; // useful for ellipsis, allow to define a max-width on host component |
31 | 31 | ||
32 | my-loader { | 32 | my-loader.displayed { |
33 | @include margin-right(3px); | 33 | @include margin-right(3px); |
34 | 34 | ||
35 | display: inline-flex; | 35 | display: inline-flex; |