From 5f3e9317ca2c22abf8649df873f8ba97304afad2 Mon Sep 17 00:00:00 2001 From: VooDisss Date: Wed, 1 Apr 2026 17:32:27 +0300 Subject: [PATCH] refactor(ui): align password action with status summary Keep the Change password control on the same row as the username and password-status copy in the settings card, so the summary reads as one horizontal unit instead of stacked text followed by a separate action row. --- .../remote-access-settings-section.tsx | 48 ++++++++++--------- .../src/styles/components/settings-screen.css | 19 +++++++- 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/packages/ui/src/components/settings/remote-access-settings-section.tsx b/packages/ui/src/components/settings/remote-access-settings-section.tsx index a91d8318..b9711d75 100644 --- a/packages/ui/src/components/settings/remote-access-settings-section.tsx +++ b/packages/ui/src/components/settings/remote-access-settings-section.tsx @@ -220,31 +220,35 @@ export const RemoteAccessSettingsSection: Component = () => { fallback={
{t("remoteAccess.authStatus.unavailable")}
} >
-

{t("remoteAccess.username", { username: authStatus()!.username ?? "codenomad" })}

-

- {authStatus()!.passwordUserProvided - ? t("remoteAccess.password.status.set") - : t("remoteAccess.password.status.unset")} -

+
+
+

{t("remoteAccess.username", { username: authStatus()!.username ?? "codenomad" })}

+

+ {authStatus()!.passwordUserProvided + ? t("remoteAccess.password.status.set") + : t("remoteAccess.password.status.unset")} +

+
-
- +
+ +
- +