From d1fa4895e46d3f3be21d73314918ab452a84bbc3 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Thu, 16 Jan 2025 12:58:09 -0300 Subject: [PATCH] feat: adjust spacing --- src/locales/pt-BR/translation.json | 2 +- .../pages/settings/settings-account.css.ts | 3 +- .../src/pages/settings/settings-account.tsx | 167 ++++++++++-------- 3 files changed, 93 insertions(+), 79 deletions(-) diff --git a/src/locales/pt-BR/translation.json b/src/locales/pt-BR/translation.json index ed891f04..9e1021fc 100644 --- a/src/locales/pt-BR/translation.json +++ b/src/locales/pt-BR/translation.json @@ -271,7 +271,7 @@ "show_hidden_achievement_description": "Mostrar descrição de conquistas ocultas antes de debloqueá-las", "account": "Conta", "no_users_blocked": "Você não bloqueou nenhum usuário", - "subscription_active_until": "Sua assinatura Hydra Cloud estará ativa até {{date}}", + "subscription_active_until": "Sua assinatura Hydra Cloud ficará ativa até {{date}}", "manage_subscription": "Gerenciar assinatura", "update_email": "Atualizar email", "update_password": "Atualizar senha", diff --git a/src/renderer/src/pages/settings/settings-account.css.ts b/src/renderer/src/pages/settings/settings-account.css.ts index 44ec0d14..8fbb3845 100644 --- a/src/renderer/src/pages/settings/settings-account.css.ts +++ b/src/renderer/src/pages/settings/settings-account.css.ts @@ -5,7 +5,7 @@ import { SPACING_UNIT, vars } from "../../theme.css"; export const form = style({ display: "flex", flexDirection: "column", - gap: `${SPACING_UNIT}px`, + gap: `${SPACING_UNIT * 3}px`, }); export const blockedUser = style({ @@ -36,5 +36,4 @@ export const blockedUsersList = style({ flexDirection: "column", alignItems: "flex-start", gap: `${SPACING_UNIT}px`, - marginTop: `${SPACING_UNIT}px`, }); diff --git a/src/renderer/src/pages/settings/settings-account.tsx b/src/renderer/src/pages/settings/settings-account.tsx index aa8a7596..d43e5b2d 100644 --- a/src/renderer/src/pages/settings/settings-account.tsx +++ b/src/renderer/src/pages/settings/settings-account.tsx @@ -158,7 +158,7 @@ export function SettingsAccount() { }; return ( - <> +
{t("profile_visibility_description")} - +
); }} /> -
+

{t("current_email")}

{userDetails?.email ?? t("no_email_account")}

-
-
- + - -
+ + + -

Hydra Cloud

- {getHydraCloudSectionContent().description} -
+
+ {getHydraCloudSectionContent().description} +
- + + +
- - {getHydraCloudSectionContent().callToAction} - +

{t("blocked_users")}

-

- {t("blocked_users")} -

- - +
); }