Also add docker-status-* class

This commit is contained in:
shamoon 2024-02-29 07:33:17 -08:00
parent d4f60a41bb
commit eebf03a657

View File

@ -54,7 +54,9 @@ export default function Status({ service, style }) {
return (
<div
className={`w-auto text-center overflow-hidden ${backgroundClass} rounded-b-[3px] docker-status`}
className={`w-auto text-center overflow-hidden ${backgroundClass} rounded-b-[3px] docker-status docker-status-${statusLabel
.toLowerCase()
.replace(" ", "-")}`}
title={statusTitle}
>
{style !== "dot" ? (