From 1ff7f4bcd47965cf9ff00b299f5744b8aa56a327 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 11 Oct 2021 18:30:46 -0400 Subject: [PATCH] table pagination text no longer black --- src/ui/React/TablePaginationActionsAll.tsx | 16 ++++------------ src/ui/React/Theme.tsx | 6 ++++++ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/ui/React/TablePaginationActionsAll.tsx b/src/ui/React/TablePaginationActionsAll.tsx index ee9f4293f..043985f7c 100644 --- a/src/ui/React/TablePaginationActionsAll.tsx +++ b/src/ui/React/TablePaginationActionsAll.tsx @@ -36,24 +36,16 @@ export function TablePaginationActionsAll(props: TablePaginationActionsProps): R return ( - + {theme.direction === "rtl" ? : } - + {theme.direction === "rtl" ? : } - = Math.ceil(count / rowsPerPage) - 1} - aria-label="next page" - > + = Math.ceil(count / rowsPerPage) - 1}> {theme.direction === "rtl" ? : } - = Math.ceil(count / rowsPerPage) - 1} - aria-label="last page" - > + = Math.ceil(count / rowsPerPage) - 1}> {theme.direction === "rtl" ? : } diff --git a/src/ui/React/Theme.tsx b/src/ui/React/Theme.tsx index 861b007a5..cb834fece 100644 --- a/src/ui/React/Theme.tsx +++ b/src/ui/React/Theme.tsx @@ -276,6 +276,12 @@ export function refreshTheme(): void { select: { color: Settings.theme.primary, }, + selectLabel: { + color: Settings.theme.primary, + }, + displayedRows: { + color: Settings.theme.primary, + }, }, }, MuiTab: {