Skip to content

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

Fix button styling

Chocobozzz85cc3b2af6b4
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.html b/client/src/app/shared/shared-moderation/account-blocklist.component.html
index 38357a6724..951db6133f 100644
--- a/client/src/app/shared/shared-moderation/account-blocklist.component.html
+++ b/client/src/app/shared/shared-moderation/account-blocklist.component.html
@@ -28,7 +28,7 @@
<ng-template pTemplate="body" let-accountBlock>
<tr>
<td class="action-cell">
- <button class="unblock-button" (click)="unblockAccount(accountBlock)" i18n>Unmute</button>
+ <button class="peertube-button grey-button" (click)="unblockAccount(accountBlock)" i18n>Unmute</button>
</td>
<td>
<a [href]="accountBlock.blockedAccount.url" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer">
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.scss b/client/src/app/shared/shared-moderation/account-blocklist.component.scss
deleted file mode 100644
index 00aaf3b9c8..0000000000
--- a/client/src/app/shared/shared-moderation/account-blocklist.component.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-@use '_variables' as *;
-@use '_mixins' as *;
-
-.unblock-button {
- @include peertube-button;
- @include grey-button;
-}
diff --git a/client/src/app/shared/shared-moderation/server-blocklist.component.html b/client/src/app/shared/shared-moderation/server-blocklist.component.html
index 5502dd2bcc..5a7ef984be 100644
--- a/client/src/app/shared/shared-moderation/server-blocklist.component.html
+++ b/client/src/app/shared/shared-moderation/server-blocklist.component.html
@@ -36,7 +36,7 @@
<ng-template pTemplate="body" let-serverBlock>
<tr>
<td class="action-cell">
- <button class="unblock-button" (click)="unblockServer(serverBlock)" i18n>Unmute</button>
+ <button class="peertube-button grey-button" (click)="unblockServer(serverBlock)" i18n>Unmute</button>
</td>
<td>
<a [href]="'https://' + serverBlock.blockedServer.host" i18n-title title="Open instance in a new tab" target="_blank" rel="noopener noreferrer">
diff --git a/client/src/app/shared/shared-moderation/server-blocklist.component.scss b/client/src/app/shared/shared-moderation/server-blocklist.component.scss
index 10b9a40a1c..77a77e81d6 100644
--- a/client/src/app/shared/shared-moderation/server-blocklist.component.scss
+++ b/client/src/app/shared/shared-moderation/server-blocklist.component.scss
@@ -15,8 +15,3 @@ a {
color: pvar(--inputPlaceholderColor);
}
}
-
-.unblock-button {
- @include peertube-button;
- @include grey-button;
-}