π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Trim
Manav Rathieb55dad4a98c
diff --git a/web/packages/accounts/components/PasswordStrength.tsx b/web/packages/accounts/components/PasswordStrength.tsxindex 598dff819c..0fb597a2ee 100644--- a/web/packages/accounts/components/PasswordStrength.tsx+++ b/web/packages/accounts/components/PasswordStrength.tsx@@ -1,4 +1,3 @@-import { FlexWrapper } from "@ente/shared/components/Container";import { Typography } from "@mui/material";import { t } from "i18next";import React, { useMemo } from "react";@@ -17,24 +16,22 @@ export const PasswordStrengthHint: React.FC<PasswordStrengthHintProps> = ({);return (- <FlexWrapper mt={"8px"} mb={"4px"}>- <Typography- variant="small"- sx={(theme) => ({- color:- passwordStrength == "weak"- ? theme.colors.danger.A700- : passwordStrength == "moderate"- ? theme.colors.warning.A500- : theme.colors.accent.A500,- })}- textAlign={"left"}- flex={1}- >- {password- ? t("passphrase_strength", { context: passwordStrength })- : ""}- </Typography>- </FlexWrapper>+ <Typography+ variant="small"+ sx={(theme) => ({+ marginBlock: "8px 4px",+ alignSelf: "flex-start",+ color:+ passwordStrength == "weak"+ ? theme.colors.danger.A700+ : passwordStrength == "moderate"+ ? theme.colors.warning.A500+ : theme.colors.accent.A500,+ })}+ >+ {password+ ? t("passphrase_strength", { context: passwordStrength })+ : ""}+ </Typography>);};