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: update signup page style
boojack0945b14debee
diff --git a/web/src/less/signin.less b/web/src/less/signin.lessindex 5a359615d..0ae840110 100644--- a/web/src/less/signin.less+++ b/web/src/less/signin.less@@ -1,8 +1,7 @@@import "./mixin.less";.page-wrapper.signin {- .flex(row, center, center);- @apply w-full min-h-screen bg-white;+ @apply flex flex-row justify-center items-center w-full min-h-screen bg-white;> .page-container {@apply w-80 max-w-full py-4 -mt-16;@@ -24,12 +23,10 @@}> .page-content-container {- .flex(column, flex-start, flex-start);- @apply w-full;+ @apply flex flex-col justify-start items-start w-full;> .form-item-container {- .flex(column, flex-start, flex-start);- @apply relative w-full text-base mt-2;+ @apply flex flex-col justify-start items-start relative w-full text-base mt-2;> .normal-text {@apply absolute top-3 left-3 px-1 leading-10 flex-shrink-0 text-base cursor-text text-gray-400 bg-transparent transition-all select-none;@@ -54,8 +51,7 @@}> .action-btns-container {- .flex(row, flex-end, center);- @apply w-full mt-2;+ @apply flex flex-row justify-end items-center w-full mt-2;> .btn {@apply px-1 py-2 text-sm rounded hover:opacity-80;@@ -71,7 +67,11 @@}> .tip-text {- @apply w-full text-sm mt-4 text-gray-500 text-right whitespace-pre-wrap;+ @apply w-auto inline-block float-right text-sm mt-4 text-gray-500 text-right whitespace-pre-wrap;++ &.owner-tip {+ @apply bg-blue-500 text-white px-2 py-1 rounded;+ }}}}diff --git a/web/src/pages/Signin.tsx b/web/src/pages/Signin.tsxindex 94a716564..3a6a2d475 100644--- a/web/src/pages/Signin.tsx+++ b/web/src/pages/Signin.tsx@@ -148,10 +148,10 @@ const Signin: React.FC<Props> = () => {</button>)}</div>- <p className="tip-text">+ <p className={`tip-text ${siteOwner || pageLoadingState.isLoading ? "" : "owner-tip"}`}>{siteOwner || pageLoadingState.isLoading? "If you don't have an account, please\ncontact the site owner."- : "You are registering as the site owner."}+ : "You are registering as the Site Owner."}</p></div></div>