Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: minor UI fixes

Abdullah Atta9abe85f1c98e
diff --git a/apps/web/src/components/field/index.jsx b/apps/web/src/components/field/index.jsx
index ffeb2e8e1..5d226c7be 100644
--- a/apps/web/src/components/field/index.jsx
+++ b/apps/web/src/components/field/index.jsx
@@ -193,7 +193,8 @@ function Field(props) {
bottom: "2px",
px: 1,
borderRadius: "default",
- ":hover": { bg: "border" }
+ ":hover": { bg: "border" },
+ height: "calc(100% - 4px)"
}}
disabled={action.disabled}
>
diff --git a/apps/web/src/dialogs/mfa/steps.tsx b/apps/web/src/dialogs/mfa/steps.tsx
index 46f9c47c8..ea3a706dd 100644
--- a/apps/web/src/dialogs/mfa/steps.tsx
+++ b/apps/web/src/dialogs/mfa/steps.tsx
@@ -723,7 +723,7 @@ function TwoFactorEnabled(props: TwoFactorEnabledProps) {
justifyContent: "center"
}}
>
- <MFA width={120} />
+ <MFA style={{ flexShrink: 0, width: 120, height: 120 }} />
<Text
variant={"heading"}
mt={2}
@@ -777,7 +777,7 @@ function Fallback2FAEnabled(props: Fallback2FAEnabledProps) {
justifyContent: "center"
}}
>
- <Fallback2FA width={200} />
+ <Fallback2FA style={{ flexShrink: 0, width: 200, height: 200 }} />
<Text
variant={"heading"}
mt={2}
diff --git a/apps/web/src/dialogs/onboarding-dialog.jsx b/apps/web/src/dialogs/onboarding-dialog.jsx
index 6ed6eefc9..5ad77260e 100644
--- a/apps/web/src/dialogs/onboarding-dialog.jsx
+++ b/apps/web/src/dialogs/onboarding-dialog.jsx
@@ -54,7 +54,7 @@ const newUserSteps = [
title: "Safe & encrypted notes",
subtitle: "Write with freedom. Never compromise on privacy again.",
buttonText: "Get started",
- image: <Note width={120} />,
+ image: <Note style={{ flexShrink: 0, width: 120, height: 120 }} />,
component: TrackingConsent
},
{
@@ -65,7 +65,7 @@ const newUserSteps = [
component: ThemeSelector
},
{
- image: <E2E width={180} />,
+ image: <E2E style={{ flexShrink: 0, width: 180, height: 180 }} />,
title: "Cross platform & 100% encrypted",
subtitle:
"Notesnook encrypts everything offline before syncing to your other devices. This means that no one can read your notes except you. Not even us.",
@@ -77,7 +77,7 @@ const newUserSteps = [
subtitle:
"Meet other privacy-minded people & talk to us directly about your concerns, issues and suggestions.",
component: JoinCause,
- image: <Friends width={140} />
+ image: <Friends style={{ flexShrink: 0, width: 140, height: 140 }} />
},
{
image: <Pro size={60} color="primary" />,
@@ -92,7 +92,7 @@ const proUserSteps = [
title: "Welcome to Notesnook Pro",
subtitle: "Thank you. You are the proof that privacy always comes first.",
buttonText: "Next",
- image: <Nomad width={120} />
+ image: <Nomad style={{ flexShrink: 0, width: 120, height: 120 }} />
},
{
title: "Style your 'nook",
@@ -118,7 +118,7 @@ const trialUserSteps = [
title: "Congratulations!",
subtitle: "You 14-day free trial has been activated.",
buttonText: "Continue",
- image: <WorkAnywhere width={160} />
+ image: <WorkAnywhere style={{ flexShrink: 0, width: 160, height: 160 }} />
}
];