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
ui: make dialogs look nice on mobile
thecodrrc4bda64f3200
diff --git a/apps/web/src/components/dialogs/dialog.js b/apps/web/src/components/dialogs/dialog.jsindex 43ab7f799..0924beb30 100644--- a/apps/web/src/components/dialogs/dialog.js+++ b/apps/web/src/components/dialogs/dialog.js@@ -4,6 +4,7 @@ import { Flex, Text, Button as RebassButton } from "rebass";import ThemeProvider from "../theme-provider";import * as Icon from "../icons";import Modal from "react-modal";+import { isMobile } from "../../utils/dimensions";function Dialog(props) {return (@@ -26,7 +27,7 @@ function Dialog(props) {backgroundColor: theme.colors.background,color: theme.colors.text,//boxShadow: theme.shadows["3"],- width: "25%",+ width: isMobile() ? "80%" : "25%",paddingRight: 20,paddingLeft: 20,overflowY: "hidden",