Fix: dot visibility in some cases, translation strings (#2129)

This commit is contained in:
shamoon 2023-10-05 07:19:20 -07:00 committed by GitHub
parent ed3055ae1b
commit b765330b4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 20 deletions

View file

@ -29,7 +29,7 @@ export default function KubernetesStatus({ service, style }) {
}
if (style === 'dot') {
colorClass = colorClass.replace('text-', 'bg-').replace(/\/\d\d$/, '');
colorClass = colorClass.replace('text-', 'bg-').replace(/\/\d\d/, '');
backgroundClass = "p-3 hover:bg-theme-500/10 dark:hover:bg-theme-900/20";
}