add word wrap for label

This commit is contained in:
2025-10-14 12:41:32 +08:00
parent 0ccafa2e2e
commit 7f2a51c5aa
5 changed files with 43 additions and 23 deletions

View File

@@ -538,9 +538,9 @@ const AccessControlTUI = () => {
return Show(
{ when: () => errorState().show },
div(
{ class: "flex flex-col bg-red " },
{ class: "flex flex-col" },
label(
{ class: "w-25 text-white", wordWrap: true },
{ class: "w-50 text-white bg-red", wordWrap: true },
() => errorState().message,
),
button(