Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: fix container height
Steven40bc8df63da0
diff --git a/web/src/components/DemoBanner.tsx b/web/src/components/DemoBanner.tsxindex f69cd42b9..18ffaa2e3 100644--- a/web/src/components/DemoBanner.tsx+++ b/web/src/components/DemoBanner.tsx@@ -23,7 +23,7 @@ const DemoBanner: React.FC = () => {if (!state.show) return null;return (- <div className="mt-4 flex flex-row items-center justify-center w-full rounded-lg sm:rounded-full py-2 text-sm sm:text-lg font-medium dark:text-gray-300 bg-white dark:bg-zinc-700 shadow">+ <div className="mt-4 flex flex-row items-center justify-center w-full rounded-lg py-2 text-sm sm:text-lg font-medium dark:text-gray-300 bg-white dark:bg-zinc-700 shadow"><div className="w-full max-w-6xl px-4 flex flex-row justify-between items-center gap-x-3"><span>✨ A lightweight, self-hosted memo hub. Open Source and Free forever. ✨</span><a className="btn-primary shadow" href="https://usememos.com/docs/install/self-hosting" target="_blank">diff --git a/web/src/css/global.css b/web/src/css/global.cssindex 7fc0f1dca..2b7dfa1a4 100644--- a/web/src/css/global.css+++ b/web/src/css/global.css@@ -1,11 +1,7 @@-html {- @apply w-full h-full p-0 m-0;-}-body {@apply text-base w-full min-h-full p-0 m-0 bg-zinc-100 dark:bg-zinc-800;}#root {- @apply w-full min-h-full overflow-auto;+ @apply relative w-full min-h-full;}diff --git a/web/src/layouts/Root.tsx b/web/src/layouts/Root.tsxindex 97890e50d..893483c9c 100644--- a/web/src/layouts/Root.tsx+++ b/web/src/layouts/Root.tsx@@ -15,7 +15,7 @@ function Root() {</div>)}<main className="w-full sm:px-4 h-auto flex-grow shrink flex flex-col justify-start items-center">- <div className="w-full px-4 h-auto flex flex-col justify-start items-center">+ <div className="w-full px-4 sm:px-2 h-auto flex flex-col justify-start items-center"><DemoBanner /></div><Outlet />diff --git a/web/src/pages/Loading.tsx b/web/src/pages/Loading.tsxindex 9f3245042..cf73dabda 100644--- a/web/src/pages/Loading.tsx+++ b/web/src/pages/Loading.tsx@@ -2,7 +2,7 @@ import Icon from "@/components/Icon";function Loading() {return (- <div className="flex flex-row justify-center items-center w-full h-full">+ <div className="fixed w-full h-full flex flex-row justify-center items-center"><div className="w-80 max-w-full h-full py-4 flex flex-col justify-center items-center"><Icon.Loader className="animate-spin dark:text-gray-200" /></div>diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsxindex 205d7181d..f60315553 100644--- a/web/src/pages/SignIn.tsx+++ b/web/src/pages/SignIn.tsx@@ -105,7 +105,7 @@ const SignIn = () => {return (<div className="flex flex-row justify-center items-center w-full h-full dark:bg-zinc-800">- <div className="w-80 max-w-full h-full py-4 flex flex-col justify-start items-center">+ <div className="w-80 max-w-full h-full min-h-screen py-4 flex flex-col justify-start items-center"><div className="w-full py-4 grow flex flex-col justify-center items-center"><div className="w-full flex flex-row justify-center items-center mb-6"><img className="h-14 w-auto rounded-full shadow" src={systemStatus.customizedProfile.logoUrl} alt="" />diff --git a/web/src/pages/SignUp.tsx b/web/src/pages/SignUp.tsxindex dfdc77937..4e67c62f4 100644--- a/web/src/pages/SignUp.tsx+++ b/web/src/pages/SignUp.tsx@@ -71,7 +71,7 @@ const SignUp = () => {return (<div className="flex flex-row justify-center items-center w-full h-full dark:bg-zinc-800">- <div className="w-80 max-w-full h-full py-4 flex flex-col justify-start items-center">+ <div className="w-80 max-w-full h-full min-h-screen py-4 flex flex-col justify-start items-center"><div className="w-full py-4 grow flex flex-col justify-center items-center"><div className="w-full flex flex-row justify-center items-center mb-6"><img className="h-14 w-auto rounded-full shadow" src={systemStatus.customizedProfile.logoUrl} alt="" />