Skip to content

Commit 521f5f3

Browse files
author
Rachel Kucharski
committed
fixed invisible hover text
1 parent ce9a9d4 commit 521f5f3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/src/components/StateManagement/CreateTab/components/TableStateProps.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState, useEffect } from 'react';
22
import {
33
DataGrid,
4-
GridEditRowsModel,
4+
GridEditRowsModel
55
} from '@mui/x-data-grid';
66
import Button from '@mui/material/Button';
77
import ClearIcon from '@mui/icons-material/Clear';
@@ -109,6 +109,7 @@ const TableStateProps = props => {
109109
editRowsModel={editRowsModel}
110110
onRowClick={selectHandler}
111111
className={props.isThemeLight ? classes.themeLight : classes.themeDark}
112+
disableColumnMenu={false}
112113
/>
113114
</div>
114115
);
@@ -117,8 +118,11 @@ const TableStateProps = props => {
117118
const useStyles = makeStyles({
118119
themeLight: {
119120
color: 'rgba(0,0,0,0.54)',
120-
'& .MuiTablePagination-root': {
121-
color: 'rbga(0,0,0,0.54)'
121+
'& button:hover':{
122+
backgroundColor: 'LightGray'
123+
},
124+
'& button':{
125+
color: 'black'
122126
}
123127
},
124128
themeDark: {

0 commit comments

Comments
 (0)