diff --git a/src/components/services/kubernetes-status.jsx b/src/components/services/kubernetes-status.jsx
index 8e150a69a88..1b9be7639a2 100644
--- a/src/components/services/kubernetes-status.jsx
+++ b/src/components/services/kubernetes-status.jsx
@@ -35,8 +35,10 @@ export default function KubernetesStatus({ service, style }) {
return (
- {style !== 'dot' &&
{statusLabel}
}
- {style === 'dot' &&
}
+ {style !== 'dot' ?
+
{statusLabel}
:
+
+ }
);
}
diff --git a/src/components/services/status.jsx b/src/components/services/status.jsx
index 78ac9d932b1..041c5d82c54 100644
--- a/src/components/services/status.jsx
+++ b/src/components/services/status.jsx
@@ -45,14 +45,17 @@ export default function Status({ service, style }) {
}
if (style === 'dot') {
- colorClass = colorClass.replace('text-', 'bg-').replace(/\/\d\d$/, '');
+ colorClass = colorClass.replace(/text-/g, 'bg-').replace(/\/\d\d/g, '');
backgroundClass = "p-4 hover:bg-theme-500/10 dark:hover:bg-theme-900/20";
+ statusTitle = statusLabel;
}
return (
- {style !== 'dot' &&
{statusLabel}
}
- {style === 'dot' &&
}
+ {style !== 'dot' ?
+
{statusLabel}
:
+
+ }
);
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 1d48516ac0d..bd8d4dece35 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -70,8 +70,11 @@ module.exports = {
'lg:grid-cols-6',
'lg:grid-cols-7',
'lg:grid-cols-8',
+ // for status
'bg-white',
'bg-black',
'dark:bg-white',
+ 'bg-orange-400',
+ 'dark:bg-orange-400',
],
}