diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:51:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:51:47 +0200 |
commit | b15fcd49bff880a8246cb48292af3ae8d66f0699 (patch) | |
tree | 48808c5bc0491a7c8f11fda3bad24f0d951221ff /client/src/app/+video-channels | |
parent | 073367bb651776648792046895b73c2f37e9f532 (diff) | |
download | PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.tar.gz PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.tar.zst PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.zip |
Prefer global icon instead of glyphicon for copy
Diffstat (limited to 'client/src/app/+video-channels')
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.scss | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html index 780db79b0..1b9dbe7b9 100644 --- a/client/src/app/+video-channels/video-channels.component.html +++ b/client/src/app/+video-channels/video-channels.component.html | |||
@@ -67,7 +67,7 @@ | |||
67 | <button [cdkCopyToClipboard]="videoChannel.nameWithHostForced" (click)="activateCopiedMessage()" | 67 | <button [cdkCopyToClipboard]="videoChannel.nameWithHostForced" (click)="activateCopiedMessage()" |
68 | class="btn btn-outline-secondary btn-sm copy-button" title="Copy channel handle" i18n-title | 68 | class="btn btn-outline-secondary btn-sm copy-button" title="Copy channel handle" i18n-title |
69 | > | 69 | > |
70 | <span class="glyphicon glyphicon-duplicate"></span> | 70 | <my-global-icon iconName="copy"></my-global-icon> |
71 | </button> | 71 | </button> |
72 | </div> | 72 | </div> |
73 | 73 | ||
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss index c00dacae5..945d9a13d 100644 --- a/client/src/app/+video-channels/video-channels.component.scss +++ b/client/src/app/+video-channels/video-channels.component.scss | |||
@@ -150,7 +150,13 @@ | |||
150 | } | 150 | } |
151 | 151 | ||
152 | .copy-button { | 152 | .copy-button { |
153 | @include margin-left(3px); | ||
154 | |||
153 | border: 0; | 155 | border: 0; |
156 | |||
157 | my-global-icon { | ||
158 | width: 15px; | ||
159 | } | ||
154 | } | 160 | } |
155 | 161 | ||
156 | @media screen and (max-width: 1400px) { | 162 | @media screen and (max-width: 1400px) { |