From d91b23b11ca46debfee320ce5c5dfaeae5811bb7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Nov 2021 14:14:31 +0100 Subject: Fix jobs state selection badge style --- client/src/app/+admin/overview/videos/video-list.component.scss | 2 +- client/src/app/+admin/system/jobs/jobs.component.scss | 4 ++++ client/src/sass/include/_mixins.scss | 2 +- client/src/sass/primeng-custom.scss | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) (limited to 'client/src') diff --git a/client/src/app/+admin/overview/videos/video-list.component.scss b/client/src/app/+admin/overview/videos/video-list.component.scss index 5ec9d4850..d249f12f6 100644 --- a/client/src/app/+admin/overview/videos/video-list.component.scss +++ b/client/src/app/+admin/overview/videos/video-list.component.scss @@ -7,7 +7,7 @@ my-embed { } .badge { - @include table-badge; + @include peertube-badge; margin-right: 5px; } diff --git a/client/src/app/+admin/system/jobs/jobs.component.scss b/client/src/app/+admin/system/jobs/jobs.component.scss index eadaf7904..a9e5e8d4b 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.scss +++ b/client/src/app/+admin/system/jobs/jobs.component.scss @@ -55,3 +55,7 @@ pre { .job-error { color: #ff0000; } + +.select-filter-block .badge { + @include peertube-badge; +} diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 6055ce53c..a7c4c99c2 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -546,7 +546,7 @@ } } -@mixin table-badge { +@mixin peertube-badge { border-radius: 2px; padding: 1/4em 1/2em; text-transform: uppercase; diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 66b4056cb..6541ee127 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -760,7 +760,7 @@ p-table { } .badge { - @include table-badge; + @include peertube-badge; } } -- cgit v1.2.3