aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-10 15:51:31 +0200
committerChocobozzz <me@florianbigard.com>2022-06-10 15:51:47 +0200
commitb15fcd49bff880a8246cb48292af3ae8d66f0699 (patch)
tree48808c5bc0491a7c8f11fda3bad24f0d951221ff /client/src/app/shared/shared-forms
parent073367bb651776648792046895b73c2f37e9f532 (diff)
downloadPeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.tar.gz
PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.tar.zst
PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.zip
Prefer global icon instead of glyphicon for copy
Diffstat (limited to 'client/src/app/shared/shared-forms')
-rw-r--r--client/src/app/shared/shared-forms/input-toggle-hidden.component.html2
-rw-r--r--client/src/app/shared/shared-forms/input-toggle-hidden.component.scss4
2 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
index e5edb6c97..f7f9ce403 100644
--- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
+++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html
@@ -13,7 +13,7 @@
13 *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button" 13 *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button"
14 class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy" 14 class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy"
15 > 15 >
16 <span class="glyphicon glyphicon-duplicate"></span> 16 <my-global-icon iconName="copy"></my-global-icon>
17 <span class="copy-text">Copy</span> 17 <span class="copy-text">Copy</span>
18 </button> 18 </button>
19</div> 19</div>
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss b/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss
index 02a8d7d0e..cc1646a69 100644
--- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss
+++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.scss
@@ -11,6 +11,10 @@ input {
11 font-size: 15px; 11 font-size: 15px;
12} 12}
13 13
14my-global-icon {
15 width: 18px;
16}
17
14.copy-text { 18.copy-text {
15 font-size: 14px; 19 font-size: 14px;
16 margin-left: 5px; 20 margin-left: 5px;