mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 06:08:48 +00:00
fix textsize bug
This commit is contained in:
parent
2df5baac9d
commit
12e6b3dabb
1 changed files with 3 additions and 3 deletions
|
@ -24,12 +24,12 @@ export default function Ping({ group, service, style }) {
|
||||||
} else if (data.status > 403) {
|
} else if (data.status > 403) {
|
||||||
colorClass = "text-rose-500/80"
|
colorClass = "text-rose-500/80"
|
||||||
statusTitle += ` ${data.status}`
|
statusTitle += ` ${data.status}`
|
||||||
|
|
||||||
if (style === "basic") {
|
if (style === "basic") {
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue