Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

fix margin-left for edit-button

Rigel Kent292c17b894e4
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 1a28dd981e..06fde9f1d4 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 {
width: 20px;
}
+a[class$=-button],
span[class$=-button] {
> span {
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 8a97c6c1e9..4ffc563d98 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 @@
<my-global-icon iconName="edit" aria-hidden="true"></my-global-icon>
<span class="button-label" *ngIf="label">{{ label }}</span>
- <span i18n class="button-label" *ngIf="!label">Update</span>
+ <span class="button-label" i18n *ngIf="!label">Update</span>
</a>