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
f4e23727
Unverified
Commit
f4e23727
authored
Sep 09, 2025
by
Giacomo Cerquone
Committed by
GitHub
Sep 09, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: avoid hiding reaction selector and keep it always shown for mobile (#5079)
parent
60123de3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
MemoView.tsx
web/src/components/MemoView.tsx
+3
-6
No files found.
web/src/components/MemoView.tsx
View file @
f4e23727
...
...
@@ -136,7 +136,7 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
)
:
(
<
div
className=
{
cn
(
"
group
relative flex flex-col justify-start items-start bg-card w-full px-4 py-3 mb-2 gap-2 text-card-foreground rounded-lg border border-border transition-colors"
,
"relative flex flex-col justify-start items-start bg-card w-full px-4 py-3 mb-2 gap-2 text-card-foreground rounded-lg border border-border transition-colors"
,
className
,
)
}
>
...
...
@@ -177,7 +177,7 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
)
}
</
div
>
<
div
className=
"flex flex-row justify-end items-center select-none shrink-0 gap-2"
>
<
div
className=
"w-auto
invisible group-hover:visible
flex flex-row justify-between items-center gap-2"
>
<
div
className=
"w-auto flex flex-row justify-between items-center gap-2"
>
{
props
.
showVisibility
&&
memo
.
visibility
!==
Visibility
.
PRIVATE
&&
(
<
Tooltip
>
<
TooltipTrigger
>
...
...
@@ -192,10 +192,7 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
</
div
>
{
!
isInMemoDetailPage
&&
commentAmount
>
0
&&
(
<
Link
className=
{
cn
(
"flex flex-row justify-start items-center rounded-md p-1 hover:opacity-80"
,
commentAmount
===
0
&&
"invisible group-hover:visible"
,
)
}
className=
{
cn
(
"flex flex-row justify-start items-center rounded-md p-1 hover:opacity-80"
,
commentAmount
===
0
&&
"invisible"
)
}
to=
{
`/${memo.name}#comments`
}
viewTransition
state=
{
{
...
...
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