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
c1242532
Commit
c1242532
authored
Oct 28, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix action buttons
parent
db2b34a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
package.json
web/package.json
+1
-1
pnpm-lock.yaml
web/pnpm-lock.yaml
+5
-5
AddMemoRelationPopover.tsx
...onents/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
+3
-3
LocationSelector.tsx
...c/components/MemoEditor/ActionButton/LocationSelector.tsx
+1
-1
No files found.
web/package.json
View file @
c1242532
...
...
@@ -19,7 +19,7 @@
"@mui/joy"
:
"5.0.0-beta.48"
,
"@radix-ui/react-popover"
:
"^1.1.2"
,
"@reduxjs/toolkit"
:
"^2.3.0"
,
"@usememos/mui"
:
"0.0.1-alpha.2
0
"
,
"@usememos/mui"
:
"0.0.1-alpha.2
3
"
,
"class-variance-authority"
:
"^0.7.0"
,
"clsx"
:
"^2.1.1"
,
"copy-to-clipboard"
:
"^3.3.3"
,
...
...
web/pnpm-lock.yaml
View file @
c1242532
...
...
@@ -39,8 +39,8 @@ importers:
specifier
:
^2.3.0
version
:
2.3.0(react-redux@9.1.2(@types/react@18.3.12)(react@18.3.1)(redux@5.0.1))(react@18.3.1)
'
@usememos/mui'
:
specifier
:
0.0.1-alpha.2
0
version
:
0.0.1-alpha.2
0
(lucide-react@0.453.0(react@18.3.1))(postcss@8.4.47)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(tailwind-merge@2.5.4)(tailwindcss@3.4.14)
specifier
:
0.0.1-alpha.2
3
version
:
0.0.1-alpha.2
3
(lucide-react@0.453.0(react@18.3.1))(postcss@8.4.47)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(tailwind-merge@2.5.4)(tailwindcss@3.4.14)
class-variance-authority
:
specifier
:
^0.7.0
version
:
0.7.0
...
...
@@ -1409,8 +1409,8 @@ packages:
'
@ungap/structured-clone@1.2.0'
:
resolution
:
{
integrity
:
sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
}
'
@usememos/mui@0.0.1-alpha.2
0
'
:
resolution
:
{
integrity
:
sha512-
O0wvI5z+ndKHLek+Be5t8e+KOSxPf0gHKJh8wu+M05bSzMldqs1dlm0kaP4bSW5rUifOybrEe0IUsesyg+eJzQ
==
}
'
@usememos/mui@0.0.1-alpha.2
3
'
:
resolution
:
{
integrity
:
sha512-
zrGFdl985JLdHBQED+fOFI33XMzOlV5HJghb2L3mEtth95Flatz1xj7XXLOZMS/abLpmm8+KwIXLpuWa1Tw8pw
==
}
peerDependencies
:
lucide-react
:
^0.453.0
postcss
:
^8.4.47
...
...
@@ -4642,7 +4642,7 @@ snapshots:
'
@ungap/structured-clone@1.2.0'
:
{}
'
@usememos/mui@0.0.1-alpha.2
0
(lucide-react@0.453.0(react@18.3.1))(postcss@8.4.47)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(tailwind-merge@2.5.4)(tailwindcss@3.4.14)'
:
'
@usememos/mui@0.0.1-alpha.2
3
(lucide-react@0.453.0(react@18.3.1))(postcss@8.4.47)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(tailwind-merge@2.5.4)(tailwindcss@3.4.14)'
:
dependencies
:
lucide-react
:
0.453.0(react@18.3.1)
postcss
:
8.4.47
...
...
web/src/components/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
View file @
c1242532
...
...
@@ -129,9 +129,9 @@ const AddMemoRelationPopover = (props: Props) => {
return
(
<
Popover
open=
{
popoverOpen
}
onOpenChange=
{
setPopoverOpen
}
>
<
PopoverTrigger
>
<
Button
size=
"sm"
variant=
"plain"
>
<
LinkIcon
className=
"w-5 h-5 mx-auto"
/>
<
PopoverTrigger
className=
"w-9"
>
<
Button
className=
"flex items-center justify-center"
size=
"sm"
variant=
"plain"
asChild
>
<
LinkIcon
className=
"w-5 h-5 mx-auto
p-0
"
/>
</
Button
>
</
PopoverTrigger
>
<
PopoverContent
align=
"center"
>
...
...
web/src/components/MemoEditor/ActionButton/LocationSelector.tsx
View file @
c1242532
...
...
@@ -94,7 +94,7 @@ const LocationSelector = (props: Props) => {
return
(
<
Popover
open=
{
popoverOpen
}
onOpenChange=
{
setPopoverOpen
}
>
<
PopoverTrigger
>
<
Button
className=
"
group"
size=
"sm"
variant=
"plain"
>
<
Button
className=
"
flex items-center justify-center"
size=
"sm"
variant=
"plain"
asChild
>
<
MapPinIcon
className=
"w-5 h-5 mx-auto shrink-0"
/>
{
props
.
location
&&
(
<>
...
...
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