feat: change bg color on hover

This commit is contained in:
RohitR311
2025-01-08 16:50:15 +05:30
parent 5b89111431
commit cefa5dfa10

View File

@@ -83,13 +83,14 @@ export const SaveRecording = ({ fileName }: SaveRecordingProps) => {
<Button <Button
onClick={() => setOpenModal(true)} onClick={() => setOpenModal(true)}
variant="outlined" variant="outlined"
color="success" // Adding this back color="success"
sx={{ sx={{
marginRight: '20px', marginRight: '20px',
color: '#00c853 !important', color: '#00c853 !important',
borderColor: '#00c853 !important', borderColor: '#00c853 !important',
'&:hover': { '&:hover': {
borderColor: '#00c853 !important', borderColor: '#00c853 !important',
backgroundColor: 'whitesmoke !important',
} }
}} }}
size="small" size="small"