fix textsize bug
This commit is contained in:
1 parent
2df5baac9d
commit
12e6b3dabb
1 file changed
+2
-2
@@ -29,7 +29,7 @@ export default function Ping({ group, service, style }) {
|
|||||||
statusText = t("docker.offline")
|
statusText = t("docker.offline")
|
||||||
} else if (style === "dot") {
|
} else if (style === "dot") {
|
||||||
statusText = "◉"
|
statusText = "◉"
|
||||||
textSize += "text-[10px]"
|
textSize = "text-[14px]"
|
||||||
backgroundClass = ""
|
backgroundClass = ""
|
||||||
} else {
|
} else {
|
||||||
statusText = data.status
|
statusText = data.status
|
||||||
@@ -43,7 +43,7 @@ export default function Ping({ group, service, style }) {
|
|||||||
statusText = t("docker.running")
|
statusText = t("docker.running")
|
||||||
} else if (style === "dot") {
|
} else if (style === "dot") {
|
||||||
statusText = "◉"
|
statusText = "◉"
|
||||||
textSize += "text-[10px]"
|
textSize = "text-[14px]"
|
||||||
backgroundClass = ""
|
backgroundClass = ""
|
||||||
} else {
|
} else {
|
||||||
statusText = ping
|
statusText = ping
|
||||||
|
|||||||
Reference in new issue
Block a user