diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:46:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:00:00 +0200 |
commit | a14c176472614874586cbc64cf25e82bbdc52868 (patch) | |
tree | 4337dd95e506c6dd886f9668802c9b2d59be1719 /client/src/app/shared/shared-main/buttons | |
parent | 5efa5df212f1c739e259709706a913535c32df52 (diff) | |
download | PeerTube-a14c176472614874586cbc64cf25e82bbdc52868.tar.gz PeerTube-a14c176472614874586cbc64cf25e82bbdc52868.tar.zst PeerTube-a14c176472614874586cbc64cf25e82bbdc52868.zip |
Use bootstrap loader
Diffstat (limited to 'client/src/app/shared/shared-main/buttons')
-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 | 6 |
2 files changed, 1 insertions, 7 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 c0a4b21b8..3e558bbb8 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-small-loader [loading]="loading"></my-small-loader> | 10 | <my-loader size="sm" [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 776f6622e..cdd75d525 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.scss +++ b/client/src/app/shared/shared-main/buttons/button.component.scss | |||
@@ -20,12 +20,6 @@ | |||
20 | display: inline-block; | 20 | display: inline-block; |
21 | } | 21 | } |
22 | 22 | ||
23 | my-small-loader ::ng-deep .root { | ||
24 | display: inline-block; | ||
25 | margin: 0 3px 0 0; | ||
26 | width: 20px; | ||
27 | } | ||
28 | |||
29 | a[class$=-button], | 23 | a[class$=-button], |
30 | span[class$=-button] { | 24 | span[class$=-button] { |
31 | > span { | 25 | > span { |