Selaa lähdekoodia

Update ping.jsx

shamoon 1 vuosi sitten
vanhempi
commit
9f030d1540
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/components/services/ping.jsx

+ 2 - 1
src/components/services/ping.jsx

@@ -32,12 +32,13 @@ export default function Ping({ group, service, style }) {
   } else {
     const ping = t("common.ms", { value: data.latency, style: "unit", unit: "millisecond", maximumFractionDigits: 0 })
     statusTitle += ` ${data.status} (${ping})`;
-    colorClass = "text-emerald-500/80 lowercase"
+    colorClass = "text-emerald-500/80"
 
     if (style === "basic") {
       statusText = t("ping.up")
     } else {
       statusText = ping
+      colorClass += " lowercase"
     }
   }