Open [WEB-6739] fix: color inside of active projects of analytics overview tab #8803
This commit is contained in:
parent
942d2b98ef
commit
5396d438a3
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ type Props = {
|
||||||
|
|
||||||
function CompletionPercentage({ percentage }: { percentage: number }) {
|
function CompletionPercentage({ percentage }: { percentage: number }) {
|
||||||
const percentageColor =
|
const percentageColor =
|
||||||
percentage > 50 ? "bg-success-primary text-success-primary" : "bg-danger-primary text-danger-primary";
|
percentage > 50 ? "bg-success-subtle text-success-primary" : "bg-danger-subtle text-danger-primary";
|
||||||
return (
|
return (
|
||||||
<div className={cn("flex items-center gap-2 rounded-sm p-1 text-11", percentageColor)}>
|
<div className={cn("flex items-center gap-2 rounded-sm p-1 text-11", percentageColor)}>
|
||||||
<span>{percentage}%</span>
|
<span>{percentage}%</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue