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
b575064d
Commit
b575064d
authored
Dec 19, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak padding
parent
6290234a
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
17 deletions
+17
-17
HomeSidebar.tsx
web/src/components/HomeSidebar.tsx
+1
-1
Navigation.tsx
web/src/components/Navigation.tsx
+2
-2
UserBanner.tsx
web/src/components/UserBanner.tsx
+1
-1
Root.tsx
web/src/layouts/Root.tsx
+2
-2
Archived.tsx
web/src/pages/Archived.tsx
+1
-1
Explore.tsx
web/src/pages/Explore.tsx
+1
-1
Home.tsx
web/src/pages/Home.tsx
+3
-3
Inboxes.tsx
web/src/pages/Inboxes.tsx
+1
-1
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+1
-1
Resources.tsx
web/src/pages/Resources.tsx
+1
-1
Setting.tsx
web/src/pages/Setting.tsx
+1
-1
Timeline.tsx
web/src/pages/Timeline.tsx
+1
-1
UserProfile.tsx
web/src/pages/UserProfile.tsx
+1
-1
No files found.
web/src/components/HomeSidebar.tsx
View file @
b575064d
...
@@ -4,7 +4,7 @@ import UsageHeatMap from "./UsageHeatMap";
...
@@ -4,7 +4,7 @@ import UsageHeatMap from "./UsageHeatMap";
const
HomeSidebar
=
()
=>
{
const
HomeSidebar
=
()
=>
{
return
(
return
(
<
aside
className=
"relative w-full pr-2 h-full max-h-screen overflow-auto hide-scrollbar flex flex-col justify-start items-start py-4"
>
<
aside
className=
"relative w-full pr-2 h-full max-h-screen overflow-auto hide-scrollbar flex flex-col justify-start items-start py-4
sm:pt-6
"
>
<
div
className=
"px-4 pr-8 mb-4 w-full"
>
<
div
className=
"px-4 pr-8 mb-4 w-full"
>
<
SearchBar
/>
<
SearchBar
/>
</
div
>
</
div
>
...
...
web/src/components/Navigation.tsx
View file @
b575064d
...
@@ -98,9 +98,9 @@ const Navigation = () => {
...
@@ -98,9 +98,9 @@ const Navigation = () => {
:
[
exploreNavLink
,
signInNavLink
];
:
[
exploreNavLink
,
signInNavLink
];
return
(
return
(
<
header
className=
"w-full h-full overflow-auto flex flex-col justify-start items-start py-4 z-30"
>
<
header
className=
"w-full h-full overflow-auto flex flex-col justify-start items-start py-4
sm:pt-6
z-30"
>
<
UserBanner
/>
<
UserBanner
/>
<
div
className=
"w-full px-
2
py-2 flex flex-col justify-start items-start shrink-0 space-y-2"
>
<
div
className=
"w-full px-
1
py-2 flex flex-col justify-start items-start shrink-0 space-y-2"
>
{
navLinks
.
map
((
navLink
)
=>
(
{
navLinks
.
map
((
navLink
)
=>
(
<
NavLink
<
NavLink
key=
{
navLink
.
id
}
key=
{
navLink
.
id
}
...
...
web/src/components/UserBanner.tsx
View file @
b575064d
...
@@ -33,7 +33,7 @@ const UserBanner = () => {
...
@@ -33,7 +33,7 @@ const UserBanner = () => {
};
};
return
(
return
(
<
div
className=
"relative w-full h-auto px-
2
shrink-0"
>
<
div
className=
"relative w-full h-auto px-
1
shrink-0"
>
<
Dropdown
<
Dropdown
className=
"w-auto"
className=
"w-auto"
trigger=
{
trigger=
{
...
...
web/src/layouts/Root.tsx
View file @
b575064d
...
@@ -7,9 +7,9 @@ function Root() {
...
@@ -7,9 +7,9 @@ function Root() {
return
(
return
(
<
div
className=
"w-full min-h-full"
>
<
div
className=
"w-full min-h-full"
>
<
div
className=
"w-full sm:pl-56 mx-auto flex flex-row justify-center items-start"
>
<
div
className=
"w-full sm:pl-56 m
d:pl-64 m
x-auto flex flex-row justify-center items-start"
>
{
sm
&&
(
{
sm
&&
(
<
div
className=
"hidden sm:block fixed top-0 left-0 w-56 border-r dark:border-zinc-800 h-full bg-zinc-50 dark:bg-zinc-700 dark:bg-opacity-40 transition-all hover:shadow-xl"
>
<
div
className=
"hidden sm:block fixed top-0 left-0 w-56
md:w-64 px-4
border-r dark:border-zinc-800 h-full bg-zinc-50 dark:bg-zinc-700 dark:bg-opacity-40 transition-all hover:shadow-xl"
>
<
Navigation
/>
<
Navigation
/>
</
div
>
</
div
>
)
}
)
}
...
...
web/src/pages/Archived.tsx
View file @
b575064d
...
@@ -30,7 +30,7 @@ const Archived = () => {
...
@@ -30,7 +30,7 @@ const Archived = () => {
},
[
memos
]);
},
[
memos
]);
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-start sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-start sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full px-4"
>
{
loadingState
.
isLoading
?
(
{
loadingState
.
isLoading
?
(
...
...
web/src/pages/Explore.tsx
View file @
b575064d
...
@@ -54,7 +54,7 @@ const Explore = () => {
...
@@ -54,7 +54,7 @@ const Explore = () => {
};
};
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-center sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-center sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"relative w-full h-auto flex flex-col justify-start items-start px-4"
>
<
div
className=
"relative w-full h-auto flex flex-col justify-start items-start px-4"
>
<
MemoFilter
/>
<
MemoFilter
/>
...
...
web/src/pages/Home.tsx
View file @
b575064d
...
@@ -9,10 +9,10 @@ const Home = () => {
...
@@ -9,10 +9,10 @@ const Home = () => {
const
{
md
}
=
useResponsiveWidth
();
const
{
md
}
=
useResponsiveWidth
();
return
(
return
(
<
div
className=
"w-full max-w-
4
xl flex flex-row justify-center items-start"
>
<
div
className=
"w-full max-w-
5
xl flex flex-row justify-center items-start"
>
<
div
className=
"w-full sm:pt-
4
"
>
<
div
className=
"w-full sm:pt-
6
"
>
<
MobileHeader
>
{
!
md
&&
<
HomeSidebarDrawer
/>
}
</
MobileHeader
>
<
MobileHeader
>
{
!
md
&&
<
HomeSidebarDrawer
/>
}
</
MobileHeader
>
<
div
className=
"w-full px-4 md:pr-2"
>
<
div
className=
"w-full px-4
sm:px-6
md:pr-2"
>
<
MemoEditor
className=
"mb-2"
cacheKey=
"home-memo-editor"
/>
<
MemoEditor
className=
"mb-2"
cacheKey=
"home-memo-editor"
/>
<
MemoList
/>
<
MemoList
/>
</
div
>
</
div
>
...
...
web/src/pages/Inboxes.tsx
View file @
b575064d
...
@@ -20,7 +20,7 @@ const Inboxes = () => {
...
@@ -20,7 +20,7 @@ const Inboxes = () => {
},
[]);
},
[]);
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-center sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-center sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
...
...
web/src/pages/MemoDetail.tsx
View file @
b575064d
...
@@ -110,7 +110,7 @@ const MemoDetail = () => {
...
@@ -110,7 +110,7 @@ const MemoDetail = () => {
};
};
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-center sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-center sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full px-4"
>
<
div
className=
"relative flex-grow w-full min-h-full flex flex-col justify-start items-start border dark:border-zinc-700 bg-white dark:bg-zinc-700 shadow hover:shadow-xl transition-all p-4 pb-3 rounded-lg"
>
<
div
className=
"relative flex-grow w-full min-h-full flex flex-col justify-start items-start border dark:border-zinc-700 bg-white dark:bg-zinc-700 shadow hover:shadow-xl transition-all p-4 pb-3 rounded-lg"
>
...
...
web/src/pages/Resources.tsx
View file @
b575064d
...
@@ -66,7 +66,7 @@ const Resources = () => {
...
@@ -66,7 +66,7 @@ const Resources = () => {
};
};
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-center sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-center sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
...
...
web/src/pages/Setting.tsx
View file @
b575064d
...
@@ -42,7 +42,7 @@ const Setting = () => {
...
@@ -42,7 +42,7 @@ const Setting = () => {
};
};
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-start sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-start sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full px-4"
>
<
div
className=
"setting-page-wrapper"
>
<
div
className=
"setting-page-wrapper"
>
...
...
web/src/pages/Timeline.tsx
View file @
b575064d
...
@@ -64,7 +64,7 @@ const Timeline = () => {
...
@@ -64,7 +64,7 @@ const Timeline = () => {
};
};
return
(
return
(
<
section
className=
"@container w-full max-w-
4xl min-h-full flex flex-col justify-start items-center sm:pt-4
pb-8"
>
<
section
className=
"@container w-full max-w-
5xl min-h-full flex flex-col justify-start items-center sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full px-4"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
...
...
web/src/pages/UserProfile.tsx
View file @
b575064d
...
@@ -35,7 +35,7 @@ const UserProfile = () => {
...
@@ -35,7 +35,7 @@ const UserProfile = () => {
},
[
params
.
username
]);
},
[
params
.
username
]);
return
(
return
(
<
section
className=
"w-full max-w-
4xl min-h-full flex flex-col justify-start items-center sm:pt-4
pb-8"
>
<
section
className=
"w-full max-w-
5xl min-h-full flex flex-col justify-start items-center sm:pt-6
pb-8"
>
<
MobileHeader
/>
<
MobileHeader
/>
<
div
className=
"w-full px-4 flex flex-col justify-start items-center"
>
<
div
className=
"w-full px-4 flex flex-col justify-start items-center"
>
{
!
loadingState
.
isLoading
&&
{
!
loadingState
.
isLoading
&&
...
...
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