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
0d803bf4
Commit
0d803bf4
authored
Sep 23, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update dark mode styles
parent
d4e54f34
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
MemoResourceListView.tsx
web/src/components/MemoResourceListView.tsx
+1
-1
AccessTokenSection.tsx
web/src/components/Settings/AccessTokenSection.tsx
+2
-2
MemberSection.tsx
web/src/components/Settings/MemberSection.tsx
+2
-2
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+2
-2
No files found.
web/src/components/MemoResourceListView.tsx
View file @
0d803bf4
...
...
@@ -43,7 +43,7 @@ const MemoResourceListView: React.FC<Props> = (props: Props) => {
<>
{
imageResourceList
.
length
>
0
&&
(
imageResourceList
.
length
===
1
?
(
<
div
className=
"mt-2 max-w-[90%] max-h-64 flex justify-center items-center border rounded overflow-hidden hide-scrollbar hover:shadow-md"
>
<
div
className=
"mt-2 max-w-[90%] max-h-64 flex justify-center items-center border
dark:border-zinc-800
rounded overflow-hidden hide-scrollbar hover:shadow-md"
>
<
img
className=
"cursor-pointer min-h-full w-auto min-w-full object-cover"
src=
{
getResourceUrl
(
imageResourceList
[
0
])
}
...
...
web/src/components/Settings/AccessTokenSection.tsx
View file @
0d803bf4
...
...
@@ -60,11 +60,11 @@ const AccessTokenSection = () => {
<
div
className=
"w-full"
>
<
div
className=
"sm:flex sm:items-center sm:justify-between"
>
<
div
className=
"sm:flex-auto space-y-1"
>
<
p
className=
"flex flex-row justify-start items-center font-medium text-gray-700 dark:text-gray-
4
00"
>
<
p
className=
"flex flex-row justify-start items-center font-medium text-gray-700 dark:text-gray-
3
00"
>
Access Tokens
<
LearnMore
className=
"ml-2"
url=
"https://usememos.com/docs/access-tokens"
/>
</
p
>
<
p
className=
"text-sm text-gray-700 dark:text-gray-
5
00"
>
A list of all access tokens for your account.
</
p
>
<
p
className=
"text-sm text-gray-700 dark:text-gray-
4
00"
>
A list of all access tokens for your account.
</
p
>
</
div
>
<
div
className=
"mt-4 sm:mt-0"
>
<
Button
...
...
web/src/components/Settings/MemberSection.tsx
View file @
0d803bf4
...
...
@@ -134,7 +134,7 @@ const PreferencesSection = () => {
</
div
>
<
div
className=
"w-full overflow-x-auto"
>
<
div
className=
"inline-block min-w-full align-middle"
>
<
table
className=
"min-w-full divide-y divide-gray-300"
>
<
table
className=
"min-w-full divide-y divide-gray-300
dark:divide-gray-400
"
>
<
thead
>
<
tr
className=
"text-sm font-semibold text-left text-gray-900 dark:text-gray-300"
>
<
th
scope=
"col"
className=
"py-2 pl-4 pr-3"
>
...
...
@@ -152,7 +152,7 @@ const PreferencesSection = () => {
<
th
scope=
"col"
className=
"relative py-2 pl-3 pr-4"
></
th
>
</
tr
>
</
thead
>
<
tbody
className=
"divide-y divide-gray-200"
>
<
tbody
className=
"divide-y divide-gray-200
dark:divide-gray-500
"
>
{
userList
.
map
((
user
)
=>
(
<
tr
key=
{
user
.
id
}
>
<
td
className=
"whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-900 dark:text-gray-300"
>
{
user
.
id
}
</
td
>
...
...
web/src/pages/MemoDetail.tsx
View file @
0d803bf4
...
...
@@ -114,10 +114,10 @@ const MemoDetail = () => {
</
div
>
<
div
className=
"flex flex-row sm:justify-end items-center"
>
<
IconButton
size=
"sm"
onClick=
{
handleCopyLinkBtnClick
}
>
<
Icon
.
Link
className=
"w-4 h-auto text-gray-600"
/>
<
Icon
.
Link
className=
"w-4 h-auto text-gray-600
dark:text-gray-400
"
/>
</
IconButton
>
<
IconButton
size=
"sm"
onClick=
{
()
=>
showShareMemoDialog
(
memo
)
}
>
<
Icon
.
Share
className=
"w-4 h-auto text-gray-600"
/>
<
Icon
.
Share
className=
"w-4 h-auto text-gray-600
dark:text-gray-400
"
/>
</
IconButton
>
</
div
>
</
div
>
...
...
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