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
fix: app is scrollable due to showing banner at top
thecodrre1ec99a542ca
diff --git a/apps/web/src/app.js b/apps/web/src/app.jsindex f504854f3..4436cdaae 100644--- a/apps/web/src/app.js+++ b/apps/web/src/app.js@@ -101,53 +101,51 @@ function App() {return (<ThemeProvider>- <Flex flexDirection="column" height="100%">- {isMobile && (+ <Flex id="app" bg="background" height="100%">+ <NavigationMenu+ toggleNavigationContainer={(state) => setShow(state || !show)}+ />+ <Flex variant="rowFill">+ <Animated.Flex+ variant="columnFill"+ initial={{ width: "30%", opacity: 1, x: 0 }}+ animate={{+ width: show ? "30%" : "0%",+ x: show ? 0 : "-30%",+ opacity: show ? 1 : 0,+ zIndex: show ? 0 : -1,+ }}+ transition={{ duration: 0.3, ease: "easeOut" }}+ sx={{+ borderRight: "1px solid",+ borderColor: "border",+ }}+ >+ {isMobile && (+ <Flex+ alignItems="center"+ justifyContent="center"+ bg="primary"+ width="100%"+ py={1}+ >+ <Text color="static" textAlign="center" fontSize="title">+ Use our <a href="https://notesnook.com/mobile">mobile app</a>{" "}+ for a better experience.+ </Text>+ </Flex>+ )}+ {routeResult}+ </Animated.Flex><Flex- alignItems="center"- justifyContent="center"- bg="primary"- width="100%"- py={1}+ width={[show ? 0 : "100%", show ? 0 : "100%", "100%"]}+ flexDirection="column">- <Text color="static" textAlign="center" fontSize="title">- Use our <a href="https://notesnook.com/mobile">mobile app</a> for- a better experience.- </Text>- </Flex>- )}- <Flex flex="1" id="app" bg="background">- <NavigationMenu- toggleNavigationContainer={(state) => setShow(state || !show)}- />- <Flex variant="rowFill">- <Animated.Flex- variant="columnFill"- initial={{ width: "30%", opacity: 1, x: 0 }}- animate={{- width: show ? "30%" : "0%",- x: show ? 0 : "-30%",- opacity: show ? 1 : 0,- zIndex: show ? 0 : -1,- }}- transition={{ duration: 0.3, ease: "easeOut" }}- sx={{- borderRight: "1px solid",- borderColor: "border",- }}- >- {routeResult}- </Animated.Flex>- <Flex- width={[show ? 0 : "100%", show ? 0 : "100%", "100%"]}- flexDirection="column"- >- <Editor />- </Flex>+ <Editor /></Flex>- <Box id="dialogContainer" />- <GlobalMenuWrapper /></Flex>+ <Box id="dialogContainer" />+ <GlobalMenuWrapper /></Flex></ThemeProvider>);