Include tailwind bg-black/white, greedy ping regex, adjust position

This commit is contained in:
shamoon 2023-10-05 09:28:31 -07:00
parent b765330b4a
commit 4f41be512c
5 changed files with 12 additions and 9 deletions

View file

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