diff options
author | Chocobozzz <me@florianbigard.com> | 2019-03-20 14:08:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-03-20 14:08:03 +0100 |
commit | d01b2fb9ab70f75355c479144e139188d1911c14 (patch) | |
tree | 668b8f72bfa690a805baa7debd34f28e56ee394e /client/src/app/+my-account | |
parent | a55052c9baf2952795685d3b4e5348c8cb9da70d (diff) | |
download | PeerTube-d01b2fb9ab70f75355c479144e139188d1911c14.tar.gz PeerTube-d01b2fb9ab70f75355c479144e139188d1911c14.tar.zst PeerTube-d01b2fb9ab70f75355c479144e139188d1911c14.zip |
Add icon to delete history button
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r-- | client/src/app/+my-account/my-account-history/my-account-history.component.html | 7 | ||||
-rw-r--r-- | client/src/app/+my-account/my-account-history/my-account-history.component.scss | 9 |
2 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.html b/client/src/app/+my-account/my-account-history/my-account-history.component.html index d42af37d4..2349f02f5 100644 --- a/client/src/app/+my-account/my-account-history/my-account-history.component.html +++ b/client/src/app/+my-account/my-account-history/my-account-history.component.html | |||
@@ -4,9 +4,10 @@ | |||
4 | <label i18n>History enabled</label> | 4 | <label i18n>History enabled</label> |
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <div class="delete-history"> | 7 | <button class="delete-history" (click)="deleteHistory()" i18n> |
8 | <button (click)="deleteHistory()" i18n>Delete history</button> | 8 | <my-global-icon iconName="delete"></my-global-icon> |
9 | </div> | 9 | Delete history |
10 | </button> | ||
10 | </div> | 11 | </div> |
11 | 12 | ||
12 | 13 | ||
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.scss b/client/src/app/+my-account/my-account-history/my-account-history.component.scss index b5c78e080..e03d81055 100644 --- a/client/src/app/+my-account/my-account-history/my-account-history.component.scss +++ b/client/src/app/+my-account/my-account-history/my-account-history.component.scss | |||
@@ -23,12 +23,11 @@ | |||
23 | } | 23 | } |
24 | 24 | ||
25 | .delete-history { | 25 | .delete-history { |
26 | font-size: 15px; | 26 | @include peertube-button; |
27 | @include grey-button; | ||
28 | @include button-with-icon; | ||
27 | 29 | ||
28 | button { | 30 | font-size: 15px; |
29 | @include peertube-button; | ||
30 | @include grey-button; | ||
31 | } | ||
32 | } | 31 | } |
33 | } | 32 | } |
34 | 33 | ||