Fix button styling

This commit is contained in:
Chocobozzz 2024-03-19 15:52:40 +01:00
parent da63a030f3
commit 85cc3b2af6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 2 additions and 14 deletions

View File

@ -28,7 +28,7 @@
<ng-template pTemplate="body" let-accountBlock> <ng-template pTemplate="body" let-accountBlock>
<tr> <tr>
<td class="action-cell"> <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>
<td> <td>
<a [href]="accountBlock.blockedAccount.url" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer"> <a [href]="accountBlock.blockedAccount.url" i18n-title title="Open account in a new tab" target="_blank" rel="noopener noreferrer">

View File

@ -1,7 +0,0 @@
@use '_variables' as *;
@use '_mixins' as *;
.unblock-button {
@include peertube-button;
@include grey-button;
}

View File

@ -36,7 +36,7 @@
<ng-template pTemplate="body" let-serverBlock> <ng-template pTemplate="body" let-serverBlock>
<tr> <tr>
<td class="action-cell"> <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>
<td> <td>
<a [href]="'https://' + serverBlock.blockedServer.host" i18n-title title="Open instance in a new tab" target="_blank" rel="noopener noreferrer"> <a [href]="'https://' + serverBlock.blockedServer.host" i18n-title title="Open instance in a new tab" target="_blank" rel="noopener noreferrer">

View File

@ -15,8 +15,3 @@ a {
color: pvar(--inputPlaceholderColor); color: pvar(--inputPlaceholderColor);
} }
} }
.unblock-button {
@include peertube-button;
@include grey-button;
}