From c73757bb164e240f73d1b9ab379b4f1d1662933b Mon Sep 17 00:00:00 2001 From: Paulo Gomes da Cruz Junior Date: Fri, 8 Nov 2024 16:59:05 -0800 Subject: [PATCH] fix(SILVA-563): fixing recent openings (#455) --- frontend/src/components/OpeningScreenDataTable/index.tsx | 6 ++---- .../src/components/OpeningScreenDataTable/styles.scss | 8 ++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/OpeningScreenDataTable/index.tsx b/frontend/src/components/OpeningScreenDataTable/index.tsx index a2ac1101..52a3a180 100644 --- a/frontend/src/components/OpeningScreenDataTable/index.tsx +++ b/frontend/src/components/OpeningScreenDataTable/index.tsx @@ -127,21 +127,19 @@ const OpeningScreenDataTable: React.FC = ({ ) => handleSearchChange(e)} onKeyDown={(e: any) => handleSearchChange(e)} placeholder="Filter by opening ID, File ID, timber mark, cut block, status..." persistent disabled={rows.length === 0} /> - console.log('Download Click')} disabled={selectedRows.length === 0}> + {}} disabled={selectedRows.length === 0}> Print { batchActionClick(selectedRows); - batchActionProps.onCancel(); - console.log('Clicked print') + batchActionProps.onCancel(); }} disabled={selectedRows.length === 0} > diff --git a/frontend/src/components/OpeningScreenDataTable/styles.scss b/frontend/src/components/OpeningScreenDataTable/styles.scss index 538e547a..02b7d06e 100644 --- a/frontend/src/components/OpeningScreenDataTable/styles.scss +++ b/frontend/src/components/OpeningScreenDataTable/styles.scss @@ -57,10 +57,14 @@ } .table-toolbar{ - background-color: var(--#{vars.$bcgov-prefix}-layer-02); - + background-color: var(--#{vars.$bcgov-prefix}-layer-02); } +.#{vars.$bcgov-prefix}--search-input:disabled::placeholder { + color: var(--#{vars.$bcgov-prefix}-text-disabled) !important; +} + + @media only screen and (max-width: 672px) { .#{vars.$bcgov-prefix}--data-table-content { width: 100%;