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
a9812592
Commit
a9812592
authored
Dec 15, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak editor border styles
parent
e4070f77
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
index.tsx
web/src/components/MemoEditor/index.tsx
+1
-1
SystemSection.tsx
web/src/components/Settings/SystemSection.tsx
+11
-1
DailyReview.tsx
web/src/pages/DailyReview.tsx
+1
-1
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+0
-1
No files found.
web/src/components/MemoEditor/index.tsx
View file @
a9812592
...
@@ -425,7 +425,7 @@ const MemoEditor = (props: Props) => {
...
@@ -425,7 +425,7 @@ const MemoEditor = (props: Props) => {
<
div
<
div
className=
{
`${
className=
{
`${
className ?? ""
className ?? ""
} relative w-full flex flex-col justify-start items-start bg-white dark:bg-zinc-700 px-4 pt-4 rounded-lg border
-2
border-gray-200 dark:border-zinc-600`
}
} relative w-full flex flex-col justify-start items-start bg-white dark:bg-zinc-700 px-4 pt-4 rounded-lg border border-gray-200 dark:border-zinc-600`
}
tabIndex=
{
0
}
tabIndex=
{
0
}
onKeyDown=
{
handleKeyDown
}
onKeyDown=
{
handleKeyDown
}
onDrop=
{
handleDropEvent
}
onDrop=
{
handleDropEvent
}
...
...
web/src/components/Settings/SystemSection.tsx
View file @
a9812592
...
@@ -353,10 +353,20 @@ const SystemSection = () => {
...
@@ -353,10 +353,20 @@ const SystemSection = () => {
fontFamily
:
"monospace"
,
fontFamily
:
"monospace"
,
fontSize
:
"14px"
,
fontSize
:
"14px"
,
}
}
}
}
placeholder=
{
"
Your instance url, s
hould be started with http:// or https://"
}
placeholder=
{
"
S
hould be started with http:// or https://"
}
value=
{
instanceUrl
}
value=
{
instanceUrl
}
onChange=
{
(
event
)
=>
handleInstanceUrlChanged
(
event
.
target
.
value
)
}
onChange=
{
(
event
)
=>
handleInstanceUrlChanged
(
event
.
target
.
value
)
}
/>
/>
<
div
className=
"w-full"
>
<
Link
className=
"text-gray-500 text-sm inline-flex flex-row justify-start items-center mt-2 hover:underline hover:text-blue-600"
to=
"https://usememos.com/docs/advanced-settings/seo"
target=
"_blank"
>
{
t
(
"common.learn-more"
)
}
<
Icon
.
ExternalLink
className=
"inline w-4 h-auto ml-1"
/>
</
Link
>
</
div
>
<
Divider
className=
"!mt-3 !my-4"
/>
<
Divider
className=
"!mt-3 !my-4"
/>
<
div
className=
"form-label"
>
<
div
className=
"form-label"
>
<
div
className=
"flex flex-row items-center"
>
<
div
className=
"flex flex-row items-center"
>
...
...
web/src/pages/DailyReview.tsx
View file @
a9812592
...
@@ -128,7 +128,7 @@ const DailyReview = () => {
...
@@ -128,7 +128,7 @@ const DailyReview = () => {
{
selectedDateStamp
===
currentDateStamp
&&
(
{
selectedDateStamp
===
currentDateStamp
&&
(
<
div
className=
"w-full pl-0 sm:pl-12 sm:mt-4"
>
<
div
className=
"w-full pl-0 sm:pl-12 sm:mt-4"
>
<
MemoEditor
c
lassName=
"!border"
c
acheKey=
"daily-review-editor"
/>
<
MemoEditor
cacheKey=
"daily-review-editor"
/>
</
div
>
</
div
>
)
}
)
}
</
div
>
</
div
>
...
...
web/src/pages/MemoDetail.tsx
View file @
a9812592
...
@@ -219,7 +219,6 @@ const MemoDetail = () => {
...
@@ -219,7 +219,6 @@ const MemoDetail = () => {
{
currentUser
&&
(
{
currentUser
&&
(
<
MemoEditor
<
MemoEditor
key=
{
memo
.
id
}
key=
{
memo
.
id
}
className=
"!border"
cacheKey=
{
`comment-editor-${memo.id}`
}
cacheKey=
{
`comment-editor-${memo.id}`
}
relationList=
{
[{
memoId
:
UNKNOWN_ID
,
relatedMemoId
:
memo
.
id
,
type
:
"COMMENT"
}]
}
relationList=
{
[{
memoId
:
UNKNOWN_ID
,
relatedMemoId
:
memo
.
id
,
type
:
"COMMENT"
}]
}
onConfirm=
{
handleCommentCreated
}
onConfirm=
{
handleCommentCreated
}
...
...
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