From bfaed233651ca4c393b8b4c65321dbe95d89a971 Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 23 Oct 2025 19:41:35 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20centere?= =?UTF-8?q?d=20the=20error=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/static/ts/views/TotpEnable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/static/ts/views/TotpEnable.ts b/src/front/static/ts/views/TotpEnable.ts index 89488c1..baf4fd9 100644 --- a/src/front/static/ts/views/TotpEnable.ts +++ b/src/front/static/ts/views/TotpEnable.ts @@ -22,7 +22,7 @@ async function totpVerify() { if (!document.getElementById("error-totp")) { const error = document.createElement("p"); error.id = "error-totp"; - error.classList.add("text-red-700", "dark:text-red-500"); + error.classList.add("text-red-700", "dark:text-red-500", "text-center"); error.innerHTML = (await data_req.json()).error; popup_content?.appendChild(error)