From 12fd8f34bed78b0831dc11660f9356c06c823268 Mon Sep 17 00:00:00 2001 From: Steven Date: Sat, 21 Oct 2023 01:23:21 +0800 Subject: [PATCH] chore: fix styles --- web/src/layouts/Root.tsx | 2 +- web/src/pages/DailyReview.tsx | 31 ++++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/web/src/layouts/Root.tsx b/web/src/layouts/Root.tsx index d2866708c..d7631439e 100644 --- a/web/src/layouts/Root.tsx +++ b/web/src/layouts/Root.tsx @@ -10,7 +10,7 @@ function Root() {
-
+
diff --git a/web/src/pages/DailyReview.tsx b/web/src/pages/DailyReview.tsx index aa919df44..458a280e8 100644 --- a/web/src/pages/DailyReview.tsx +++ b/web/src/pages/DailyReview.tsx @@ -68,14 +68,23 @@ const DailyReview = () => {
-
+

toggleShowDatePicker()} > {new Date(selectedDateStamp).toLocaleDateString()}

+ {selectedDateStamp !== currentDateStamp && ( + + )} {
))} -
- {selectedDateStamp === currentDateStamp ? ( -
- -
- ) : ( -
- -
- )} -
+ {selectedDateStamp === currentDateStamp && ( +
+ +
+ )}