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
330282d8
Commit
330282d8
authored
Jun 16, 2025
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak styles
parent
f467264e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
LocationSelector.tsx
...c/components/MemoEditor/ActionButton/LocationSelector.tsx
+2
-2
index.tsx
web/src/components/MemoEditor/Editor/index.tsx
+1
-1
index.tsx
web/src/components/MemoEditor/index.tsx
+1
-0
SearchBar.tsx
web/src/components/SearchBar.tsx
+1
-1
MonthNavigator.tsx
web/src/components/StatisticsView/MonthNavigator.tsx
+1
-1
No files found.
web/src/components/MemoEditor/ActionButton/LocationSelector.tsx
View file @
330282d8
...
...
@@ -115,9 +115,9 @@ const LocationSelector = (props: Props) => {
size=
"sm"
startDecorator=
{
state
.
position
&&
(
<
span
className=
"text-xs
opacity-60"
>
<
div
className=
"text-xs leading-6
opacity-60"
>
[
{
state
.
position
.
lat
.
toFixed
(
2
)
}
,
{
state
.
position
.
lng
.
toFixed
(
2
)
}
]
</
span
>
</
div
>
)
}
disabled=
{
!
state
.
position
}
...
...
web/src/components/MemoEditor/Editor/index.tsx
View file @
330282d8
...
...
@@ -217,7 +217,7 @@ const Editor = forwardRef(function Editor(props: Props, ref: React.ForwardedRef<
className=
{
cn
(
"flex flex-col justify-start items-start relative w-full h-auto max-h-[50vh] bg-inherit dark:text-gray-300"
,
className
)
}
>
<
textarea
className=
"w-full h-full my-1 text-base resize-none overflow-x-hidden overflow-y-auto bg-transparent outline-none whitespace-pre-wrap break-words"
className=
"w-full h-full my-1 text-base resize-none overflow-x-hidden overflow-y-auto bg-transparent outline-none
placeholder:opacity-70
whitespace-pre-wrap break-words"
rows=
{
2
}
placeholder=
{
placeholder
}
ref=
{
editorRef
}
...
...
web/src/components/MemoEditor/index.tsx
View file @
330282d8
...
...
@@ -528,6 +528,7 @@ const MemoEditor = observer((props: Props) => {
<
div
className=
{
cn
(
"absolute right-1 top-1 opacity-60"
,
"flex flex-row justify-end items-center gap-1"
,
"invisible group-focus-within:visible group-hover:visible hover:visible focus-within:visible"
,
(
isVisibilitySelectorOpen
||
memoName
)
&&
"visible"
,
)
}
...
...
web/src/components/SearchBar.tsx
View file @
330282d8
...
...
@@ -36,7 +36,7 @@ const SearchBar = observer(() => {
<
SearchIcon
className=
"absolute left-2 w-4 h-auto opacity-40 dark:text-zinc-300"
/>
<
input
className=
{
cn
(
"w-full text-gray-500 leading-6 dark:text-zinc-300
placeholder:opacity-80
bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 text-sm rounded-xl p-1 pl-8 outline-0"
,
"w-full text-gray-500 leading-6 dark:text-zinc-300 bg-zinc-50 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 text-sm rounded-xl p-1 pl-8 outline-0"
,
)
}
placeholder=
{
t
(
"memo.search-placeholder"
)
}
value=
{
queryText
}
...
...
web/src/components/StatisticsView/MonthNavigator.tsx
View file @
330282d8
...
...
@@ -16,7 +16,7 @@ export const MonthNavigator = ({ visibleMonth, onMonthChange }: MonthNavigatorPr
return
(
<
div
className=
"w-full mb-1 flex flex-row justify-between items-center gap-1"
>
<
span
className=
"relative text-sm dark:text-gray-400"
>
<
span
className=
"relative text-sm
text-gray-500
dark:text-gray-400"
>
{
currentMonth
.
toLocaleString
(
i18n
.
language
,
{
year
:
"numeric"
,
month
:
"long"
})
}
</
span
>
<
div
className=
"flex justify-end items-center shrink-0 gap-1"
>
...
...
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