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
ca536304
Commit
ca536304
authored
Jan 04, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update drawer background
parent
f484c387
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
index.html
web/index.html
+1
-1
HomeSidebarDrawer.tsx
web/src/components/HomeSidebarDrawer.tsx
+1
-1
NavigationDrawer.tsx
web/src/components/NavigationDrawer.tsx
+1
-1
global.css
web/src/css/global.css
+1
-1
No files found.
web/index.html
View file @
ca536304
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<meta
charset=
"UTF-8"
/>
<meta
charset=
"UTF-8"
/>
<link
rel=
"icon"
href=
"/logo.png"
type=
"image/*"
/>
<link
rel=
"icon"
href=
"/logo.png"
type=
"image/*"
/>
<meta
name=
"theme-color"
media=
"(prefers-color-scheme: light)"
content=
"#f4f4f5"
/>
<meta
name=
"theme-color"
media=
"(prefers-color-scheme: light)"
content=
"#f4f4f5"
/>
<meta
name=
"theme-color"
media=
"(prefers-color-scheme: dark)"
content=
"#
27272a
"
/>
<meta
name=
"theme-color"
media=
"(prefers-color-scheme: dark)"
content=
"#
18181b
"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
/>
<!-- memos.metadata.head -->
<!-- memos.metadata.head -->
<title>
Memos
</title>
<title>
Memos
</title>
...
...
web/src/components/HomeSidebarDrawer.tsx
View file @
ca536304
...
@@ -26,7 +26,7 @@ const HomeSidebarDrawer = () => {
...
@@ -26,7 +26,7 @@ const HomeSidebarDrawer = () => {
<
Icon
.
Search
className=
"w-5 h-auto dark:text-gray-400"
/>
<
Icon
.
Search
className=
"w-5 h-auto dark:text-gray-400"
/>
</
IconButton
>
</
IconButton
>
<
Drawer
anchor=
"right"
size=
"sm"
open=
{
open
}
onClose=
{
toggleDrawer
(
false
)
}
>
<
Drawer
anchor=
"right"
size=
"sm"
open=
{
open
}
onClose=
{
toggleDrawer
(
false
)
}
>
<
div
className=
"w-full
px-1
"
>
<
div
className=
"w-full
h-full px-1 bg-zinc-100 dark:bg-zinc-900
"
>
<
HomeSidebar
/>
<
HomeSidebar
/>
</
div
>
</
div
>
</
Drawer
>
</
Drawer
>
...
...
web/src/components/NavigationDrawer.tsx
View file @
ca536304
...
@@ -26,7 +26,7 @@ const NavigationDrawer = () => {
...
@@ -26,7 +26,7 @@ const NavigationDrawer = () => {
<
Icon
.
Menu
className=
"w-5 h-auto dark:text-gray-400"
/>
<
Icon
.
Menu
className=
"w-5 h-auto dark:text-gray-400"
/>
</
IconButton
>
</
IconButton
>
<
Drawer
anchor=
"left"
size=
"sm"
open=
{
open
}
onClose=
{
toggleDrawer
(
false
)
}
>
<
Drawer
anchor=
"left"
size=
"sm"
open=
{
open
}
onClose=
{
toggleDrawer
(
false
)
}
>
<
div
className=
"w-full h-full px-4"
>
<
div
className=
"w-full h-full px-4
bg-zinc-100 dark:bg-zinc-900
"
>
<
Navigation
/>
<
Navigation
/>
</
div
>
</
div
>
</
Drawer
>
</
Drawer
>
...
...
web/src/css/global.css
View file @
ca536304
body
{
body
{
@apply
text-base
w-full
min-h-[100svh]
p-0
m-0
bg-zinc-100
dark
:
bg-zinc-900
;
@apply
text-base
w-full
min-h-[100svh]
bg-zinc-100
dark
:
bg-zinc-900
;
}
}
#root
{
#root
{
...
...
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