From 330282d8b2518dde0eee3632216b7805fd4e29dc Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 16 Jun 2025 20:48:08 +0800 Subject: [PATCH] chore: tweak styles --- .../components/MemoEditor/ActionButton/LocationSelector.tsx | 4 ++-- web/src/components/MemoEditor/Editor/index.tsx | 2 +- web/src/components/MemoEditor/index.tsx | 1 + web/src/components/SearchBar.tsx | 2 +- web/src/components/StatisticsView/MonthNavigator.tsx | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx b/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx index 16a1b2358..c206f3430 100644 --- a/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx +++ b/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx @@ -115,9 +115,9 @@ const LocationSelector = (props: Props) => { size="sm" startDecorator={ state.position && ( - +
[{state.position.lat.toFixed(2)}, {state.position.lng.toFixed(2)}] - +
) } disabled={!state.position} diff --git a/web/src/components/MemoEditor/Editor/index.tsx b/web/src/components/MemoEditor/Editor/index.tsx index e2217aba0..cb218ada7 100644 --- a/web/src/components/MemoEditor/Editor/index.tsx +++ b/web/src/components/MemoEditor/Editor/index.tsx @@ -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)} >