diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-11 10:05:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-11 10:05:42 +0200 |
commit | 695237b258b9d31269f047248f2b99af86f0d161 (patch) | |
tree | 18fb65c45f032634b2b79ec21a8296911188c2d0 /client | |
parent | fe3a55b071c99b346e9e9ab786f5d219e5a064cd (diff) | |
download | PeerTube-695237b258b9d31269f047248f2b99af86f0d161.tar.gz PeerTube-695237b258b9d31269f047248f2b99af86f0d161.tar.zst PeerTube-695237b258b9d31269f047248f2b99af86f0d161.zip |
Fix add icon path
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.scss | 2 | ||||
-rw-r--r-- | client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss | 2 | ||||
-rw-r--r-- | client/src/assets/images/global/add.svg (renamed from client/src/assets/images/admin/add.svg) | 0 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 4 |
4 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.scss b/client/src/app/+admin/users/user-list/user-list.component.scss index 4a66b5d8d..4fc36e11e 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.scss +++ b/client/src/app/+admin/users/user-list/user-list.component.scss | |||
@@ -2,5 +2,5 @@ | |||
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | .add-button { | 4 | .add-button { |
5 | @include create-button; | 5 | @include create-button('../../../../assets/images/global/add.svg'); |
6 | } | 6 | } |
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss index bcb58eac2..56a637a82 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss | |||
@@ -2,7 +2,7 @@ | |||
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | .create-button { | 4 | .create-button { |
5 | @include create-button; | 5 | @include create-button('../../../assets/images/global/add.svg'); |
6 | } | 6 | } |
7 | 7 | ||
8 | /deep/ .action-button { | 8 | /deep/ .action-button { |
diff --git a/client/src/assets/images/admin/add.svg b/client/src/assets/images/global/add.svg index 42b269c43..42b269c43 100644 --- a/client/src/assets/images/admin/add.svg +++ b/client/src/assets/images/global/add.svg | |||
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index dce3430fd..748c98afa 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -400,7 +400,7 @@ | |||
400 | } | 400 | } |
401 | } | 401 | } |
402 | 402 | ||
403 | @mixin create-button { | 403 | @mixin create-button ($imageUrl) { |
404 | @include peertube-button-link; | 404 | @include peertube-button-link; |
405 | @include orange-button; | 405 | @include orange-button; |
406 | 406 | ||
@@ -408,6 +408,6 @@ | |||
408 | @include icon(22px); | 408 | @include icon(22px); |
409 | 409 | ||
410 | margin-right: 3px; | 410 | margin-right: 3px; |
411 | background-image: url('/assets/images/admin/add.svg'); | 411 | background-image: url($imageUrl); |
412 | } | 412 | } |
413 | } | 413 | } |