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
d8d88c25
Commit
d8d88c25
authored
Jul 06, 2025
by
Johnny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: creator view
parent
f2e27c16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MemoView.tsx
web/src/components/MemoView.tsx
+3
-3
No files found.
web/src/components/MemoView.tsx
View file @
d8d88c25
...
@@ -145,7 +145,7 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
...
@@ -145,7 +145,7 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
{
props
.
showCreator
&&
creator
?
(
{
props
.
showCreator
&&
creator
?
(
<
div
className=
"w-full flex flex-row justify-start items-center"
>
<
div
className=
"w-full flex flex-row justify-start items-center"
>
<
Link
<
Link
className=
"w-auto hover:
bg-accent hover:text-accent-foreground rounded-md p-1
transition-colors"
className=
"w-auto hover:
opacity-80 rounded-md
transition-colors"
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
viewTransition
viewTransition
>
>
...
@@ -153,14 +153,14 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
...
@@ -153,14 +153,14 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
</
Link
>
</
Link
>
<
div
className=
"w-full flex flex-col justify-center items-start"
>
<
div
className=
"w-full flex flex-col justify-center items-start"
>
<
Link
<
Link
className=
"
w-full block leading-tight hover:bg-accent hover:text-accent-foreground rounded-md px-2 py-1
transition-colors truncate text-muted-foreground"
className=
"
block leading-tight hover:opacity-80 rounded-md
transition-colors truncate text-muted-foreground"
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
to=
{
`/u/${encodeURIComponent(creator.username)}`
}
viewTransition
viewTransition
>
>
{
creator
.
displayName
||
creator
.
username
}
{
creator
.
displayName
||
creator
.
username
}
</
Link
>
</
Link
>
<
div
<
div
className=
"w-auto -mt-0.5 text-xs leading-tight text-muted-foreground select-none cursor-pointer hover:
text-foreground
transition-colors"
className=
"w-auto -mt-0.5 text-xs leading-tight text-muted-foreground select-none cursor-pointer hover:
opacity-80
transition-colors"
onClick=
{
handleGotoMemoDetailPage
}
onClick=
{
handleGotoMemoDetailPage
}
>
>
{
displayTime
}
{
displayTime
}
...
...
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