diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-03 10:39:59 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-07-29 18:15:53 +0200 |
commit | 292c17b894e430d61f9197fb6fa245f5f9c6fa7c (patch) | |
tree | bfce2303fdecbb3abd482cc7e202ca916ee5109a /client/src/app/shared/shared-main | |
parent | dfe3f7b72ef46401206f6f461077a7984a0c72f0 (diff) | |
download | PeerTube-292c17b894e430d61f9197fb6fa245f5f9c6fa7c.tar.gz PeerTube-292c17b894e430d61f9197fb6fa245f5f9c6fa7c.tar.zst PeerTube-292c17b894e430d61f9197fb6fa245f5f9c6fa7c.zip |
fix margin-left for edit-button
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/buttons/button.component.scss | 1 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/buttons/edit-button.component.html | 2 |
2 files changed, 2 insertions, 1 deletions
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 1a28dd981..06fde9f1d 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.scss +++ b/client/src/app/shared/shared-main/buttons/button.component.scss | |||
@@ -7,6 +7,7 @@ my-small-loader ::ng-deep .root { | |||
7 | width: 20px; | 7 | width: 20px; |
8 | } | 8 | } |
9 | 9 | ||
10 | a[class$=-button], | ||
10 | span[class$=-button] { | 11 | span[class$=-button] { |
11 | > span { | 12 | > span { |
12 | margin-left: 5px; | 13 | margin-left: 5px; |
diff --git a/client/src/app/shared/shared-main/buttons/edit-button.component.html b/client/src/app/shared/shared-main/buttons/edit-button.component.html index 8a97c6c1e..4ffc563d9 100644 --- a/client/src/app/shared/shared-main/buttons/edit-button.component.html +++ b/client/src/app/shared/shared-main/buttons/edit-button.component.html | |||
@@ -2,5 +2,5 @@ | |||
2 | <my-global-icon iconName="edit" aria-hidden="true"></my-global-icon> | 2 | <my-global-icon iconName="edit" aria-hidden="true"></my-global-icon> |
3 | 3 | ||
4 | <span class="button-label" *ngIf="label">{{ label }}</span> | 4 | <span class="button-label" *ngIf="label">{{ label }}</span> |
5 | <span i18n class="button-label" *ngIf="!label">Update</span> | 5 | <span class="button-label" i18n *ngIf="!label">Update</span> |
6 | </a> | 6 | </a> |