From 0ded8eb25418379ebf96ca91fbf0ce718ed3b81c Mon Sep 17 00:00:00 2001 From: xxxjinn Date: Thu, 29 Aug 2024 01:33:58 +0900 Subject: [PATCH 1/2] style: line-chart reset button color styling --- .../view/src/components/TemporalFilter/TemporalFilter.scss | 5 +++++ .../view/src/components/TemporalFilter/TemporalFilter.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/view/src/components/TemporalFilter/TemporalFilter.scss b/packages/view/src/components/TemporalFilter/TemporalFilter.scss index 8ea6b14c..2fcc0835 100644 --- a/packages/view/src/components/TemporalFilter/TemporalFilter.scss +++ b/packages/view/src/components/TemporalFilter/TemporalFilter.scss @@ -17,6 +17,11 @@ text-transform: none; background-color: var(--primary-color); } + + span { + color: var(--primary-color); + filter: invert(100) grayscale(100) contrast(100); + } } .line-charts-svg { diff --git a/packages/view/src/components/TemporalFilter/TemporalFilter.tsx b/packages/view/src/components/TemporalFilter/TemporalFilter.tsx index 0890292a..5e63445e 100644 --- a/packages/view/src/components/TemporalFilter/TemporalFilter.tsx +++ b/packages/view/src/components/TemporalFilter/TemporalFilter.tsx @@ -160,7 +160,7 @@ const TemporalFilter = () => { size="small" className="reset-button" > - Reset + Reset )} Date: Thu, 29 Aug 2024 01:35:56 +0900 Subject: [PATCH 2/2] refactor: delete unnecessary props - displayEmpty --- packages/view/src/components/BranchSelector/BranchSelector.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/view/src/components/BranchSelector/BranchSelector.tsx b/packages/view/src/components/BranchSelector/BranchSelector.tsx index d120da23..b8f0a572 100644 --- a/packages/view/src/components/BranchSelector/BranchSelector.tsx +++ b/packages/view/src/components/BranchSelector/BranchSelector.tsx @@ -25,7 +25,6 @@ const BranchSelector = () => { >