feat: change bg color on hover

This commit is contained in:
RohitR311
2025-01-08 16:50:36 +05:30
parent cefa5dfa10
commit 753d1d8ea2

View File

@@ -39,7 +39,21 @@ const BrowserRecordingSave = () => {
justifyContent: 'space-between', justifyContent: 'space-between',
height:"48px" height:"48px"
}}> }}>
<Button onClick={() => setOpenModal(true)} variant="outlined" style={{ marginLeft: "25px" }} size="small" color="error"> <Button
onClick={() => setOpenModal(true)}
variant="outlined"
color="error"
sx={{
marginLeft: '25px',
color: 'red !important',
borderColor: 'red !important',
'&:hover': {
borderColor: 'red !important',
backgroundColor: 'whitesmoke !important',
}
}}
size="small"
>
{t('right_panel.buttons.discard')} {t('right_panel.buttons.discard')}
</Button> </Button>
<GenericModal isOpen={openModal} onClose={() => setOpenModal(false)} modalStyle={modalStyle}> <GenericModal isOpen={openModal} onClose={() => setOpenModal(false)} modalStyle={modalStyle}>