Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
40bc8df6
Commit
40bc8df6
authored
Dec 18, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix container height
parent
61de7c8a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
10 deletions
+6
-10
DemoBanner.tsx
web/src/components/DemoBanner.tsx
+1
-1
global.css
web/src/css/global.css
+1
-5
Root.tsx
web/src/layouts/Root.tsx
+1
-1
Loading.tsx
web/src/pages/Loading.tsx
+1
-1
SignIn.tsx
web/src/pages/SignIn.tsx
+1
-1
SignUp.tsx
web/src/pages/SignUp.tsx
+1
-1
No files found.
web/src/components/DemoBanner.tsx
View file @
40bc8df6
...
@@ -23,7 +23,7 @@ const DemoBanner: React.FC = () => {
...
@@ -23,7 +23,7 @@ const DemoBanner: React.FC = () => {
if
(
!
state
.
show
)
return
null
;
if
(
!
state
.
show
)
return
null
;
return
(
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"
>
<
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
>
<
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"
>
<
a
className=
"btn-primary shadow"
href=
"https://usememos.com/docs/install/self-hosting"
target=
"_blank"
>
...
...
web/src/css/global.css
View file @
40bc8df6
html
{
@apply
w-full
h-full
p-0
m-0;
}
body
{
body
{
@apply
text-base
w-full
min-h-full
p-0
m-0
bg-zinc-100
dark
:
bg-zinc-800
;
@apply
text-base
w-full
min-h-full
p-0
m-0
bg-zinc-100
dark
:
bg-zinc-800
;
}
}
#root
{
#root
{
@apply
w-full
min-h-full
overflow-auto
;
@apply
relative
w-full
min-h-full
;
}
}
web/src/layouts/Root.tsx
View file @
40bc8df6
...
@@ -15,7 +15,7 @@ function Root() {
...
@@ -15,7 +15,7 @@ function Root() {
</
div
>
</
div
>
)
}
)
}
<
main
className=
"w-full sm:px-4 h-auto flex-grow shrink flex flex-col justify-start items-center"
>
<
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
/>
<
DemoBanner
/>
</
div
>
</
div
>
<
Outlet
/>
<
Outlet
/>
...
...
web/src/pages/Loading.tsx
View file @
40bc8df6
...
@@ -2,7 +2,7 @@ import Icon from "@/components/Icon";
...
@@ -2,7 +2,7 @@ import Icon from "@/components/Icon";
function
Loading
()
{
function
Loading
()
{
return
(
return
(
<
div
className=
"f
lex flex-row justify-center items-center w-full h-full
"
>
<
div
className=
"f
ixed 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"
>
<
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"
/>
<
Icon
.
Loader
className=
"animate-spin dark:text-gray-200"
/>
</
div
>
</
div
>
...
...
web/src/pages/SignIn.tsx
View file @
40bc8df6
...
@@ -105,7 +105,7 @@ const SignIn = () => {
...
@@ -105,7 +105,7 @@ const SignIn = () => {
return
(
return
(
<
div
className=
"flex flex-row justify-center items-center w-full h-full dark:bg-zinc-800"
>
<
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 py-4 grow flex flex-col justify-center items-center"
>
<
div
className=
"w-full flex flex-row justify-center items-center mb-6"
>
<
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=
""
/>
<
img
className=
"h-14 w-auto rounded-full shadow"
src=
{
systemStatus
.
customizedProfile
.
logoUrl
}
alt=
""
/>
...
...
web/src/pages/SignUp.tsx
View file @
40bc8df6
...
@@ -71,7 +71,7 @@ const SignUp = () => {
...
@@ -71,7 +71,7 @@ const SignUp = () => {
return
(
return
(
<
div
className=
"flex flex-row justify-center items-center w-full h-full dark:bg-zinc-800"
>
<
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 py-4 grow flex flex-col justify-center items-center"
>
<
div
className=
"w-full flex flex-row justify-center items-center mb-6"
>
<
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=
""
/>
<
img
className=
"h-14 w-auto rounded-full shadow"
src=
{
systemStatus
.
customizedProfile
.
logoUrl
}
alt=
""
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment