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 @@ @import '_mixins'; .add-button { - @include create-button; + @include create-button('../../../../assets/images/global/add.svg'); } 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 @@ @import '_mixins'; .create-button { - @include create-button; + @include create-button('../../../assets/images/global/add.svg'); } /deep/ .action-button { diff --git a/client/src/assets/images/admin/add.svg b/client/src/assets/images/global/add.svg similarity index 100% rename from client/src/assets/images/admin/add.svg rename to 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 @@ } } -@mixin create-button { +@mixin create-button ($imageUrl) { @include peertube-button-link; @include orange-button; @@ -408,6 +408,6 @@ @include icon(22px); margin-right: 3px; - background-image: url('/assets/images/admin/add.svg'); + background-image: url($imageUrl); } }