A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix minor ui issues due to theme-ui migration
Abdullah Attaccac96215154
diff --git a/apps/web/src/common/dialog-controller.tsx b/apps/web/src/common/dialog-controller.tsxindex eff25f981..64ea21df9 100644--- a/apps/web/src/common/dialog-controller.tsx+++ b/apps/web/src/common/dialog-controller.tsx@@ -29,7 +29,7 @@ import { store as editorStore } from "../stores/editor-store";import { store as noteStore } from "../stores/note-store";import { db } from "./db";import { showToast } from "../utils/toast";-import { Box, Flex, Text } from "@theme-ui/components";+import { Flex, Text } from "@theme-ui/components";import * as Icon from "../components/icons";import Config from "../utils/config";import { formatDate } from "@notesnook/core/utils/date";@@ -419,18 +419,18 @@ function getDialogData(type: string) {subtitle: (<>All your data will be re-encrypted and synced with the new password.- <Box mt={1} p={1} bg="errorBg" sx={{ color: "error" }}>- <Text as="p" my={0}>+ <Text as="div" mt={1} p={1} bg="errorBg" sx={{ color: "error" }}>+ <Text as="p" my={0} sx={{ color: "inherit" }}>It is recommended that you <b>log out from all other devices</b>{" "}before continuing.</Text>- <Text as="p" my={0} mt={1}>+ <Text as="p" my={0} mt={1} sx={{ color: "inherit" }}>If this process is interrupted, there is a high chance of datacorruption so{" "}<b>please do NOT shut down your device or close your browser</b>{" "}until this process completes.</Text>- </Box>+ </Text></>),positiveButtonText: "Change password"diff --git a/apps/web/src/components/tip/index.js b/apps/web/src/components/tip/index.jsindex d5cd91ee6..3ca99662c 100644--- a/apps/web/src/components/tip/index.js+++ b/apps/web/src/components/tip/index.js@@ -23,6 +23,7 @@ function TextWithTip({ text, tip, sx, color }) {return (<Text sx={{ ...sx, fontSize: "body", color: color || "text" }}>{text}+ <br /><Textsx={{wordBreak: "break-word",diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.jsindex d1e33298d..108efd5aa 100644--- a/apps/web/src/views/settings.js+++ b/apps/web/src/views/settings.js@@ -388,8 +388,8 @@ function Settings() {sx={{ py: 2 }}/><Flex- flexWrap="wrap"sx={{+ flexWrap: "wrap",borderRadius: "default",justifyContent: "left"}}