From c18d5ea5d257cb417e3c6c30c3a53c8a7d9f1b5c Mon Sep 17 00:00:00 2001 From: Nithish Kumar Siliveru Date: Tue, 26 Nov 2024 19:57:31 +0530 Subject: [PATCH] Adjusted the view change button position (#9172) --- src/components/Common/SortDropdown.tsx | 2 +- src/components/Resource/ResourceList.tsx | 8 ++++---- src/components/Shifting/ShiftingList.tsx | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Common/SortDropdown.tsx b/src/components/Common/SortDropdown.tsx index cf4193deaea..2e5ccd95015 100644 --- a/src/components/Common/SortDropdown.tsx +++ b/src/components/Common/SortDropdown.tsx @@ -27,7 +27,7 @@ export default function SortDropdownMenu(props: Props) { variant="secondary" className="w-full border border-primary-500 bg-white md:w-auto" icon={} - containerClassName="w-full md:w-auto" + containerClassName="w-full md:w-auto z-20" > {props.options.map(({ isAscending, value }, i) => (
- advancedFilter.setShow(true)} - /> {t("board_view")} + advancedFilter.setShow(true)} + />
} diff --git a/src/components/Shifting/ShiftingList.tsx b/src/components/Shifting/ShiftingList.tsx index d4746ad434b..db7ec691f79 100644 --- a/src/components/Shifting/ShiftingList.tsx +++ b/src/components/Shifting/ShiftingList.tsx @@ -274,9 +274,6 @@ export default function ListView() {
- advancedFilter.setShow(true)} - /> navigate("/shifting/board", { query: qParams })} @@ -284,6 +281,9 @@ export default function ListView() { {t("board_view")} + advancedFilter.setShow(true)} + />
}