From 8666c5e9321c1d6cbb5bedd0c0f3feb0907a04d9 Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Wed, 8 Jan 2025 22:13:36 +0530 Subject: [PATCH] feat: change styling for cancel button{ --- src/components/molecules/BrowserRecordingSave.tsx | 7 ++----- src/components/molecules/RobotDuplicate.tsx | 7 ++----- src/components/molecules/RobotEdit.tsx | 8 ++------ src/components/molecules/ScheduleSettings.tsx | 5 +---- 4 files changed, 7 insertions(+), 20 deletions(-) diff --git a/src/components/molecules/BrowserRecordingSave.tsx b/src/components/molecules/BrowserRecordingSave.tsx index bc17157b..eb4b5947 100644 --- a/src/components/molecules/BrowserRecordingSave.tsx +++ b/src/components/molecules/BrowserRecordingSave.tsx @@ -66,11 +66,8 @@ const BrowserRecordingSave = () => { sx={{ color: '#ff00c3 !important', borderColor: '#ff00c3 !important', - '&:hover': { - borderColor: '#ff00c3 !important', - backgroundColor: 'whitesmoke !important', - } - }}> + backgroundColor: 'whitesmoke !important', + }} > {t('right_panel.buttons.cancel')} diff --git a/src/components/molecules/RobotDuplicate.tsx b/src/components/molecules/RobotDuplicate.tsx index 68711aa0..74a069d8 100644 --- a/src/components/molecules/RobotDuplicate.tsx +++ b/src/components/molecules/RobotDuplicate.tsx @@ -160,11 +160,8 @@ export const RobotDuplicationModal = ({ isOpen, handleStart, handleClose, initia sx={{ color: '#ff00c3 !important', borderColor: '#ff00c3 !important', - '&:hover': { - borderColor: '#ff00c3 !important', - backgroundColor: 'whitesmoke !important', - } - }}> + backgroundColor: 'whitesmoke !important', + }} > {t('robot_duplication.buttons.cancel')} diff --git a/src/components/molecules/RobotEdit.tsx b/src/components/molecules/RobotEdit.tsx index 30878f77..ed637300 100644 --- a/src/components/molecules/RobotEdit.tsx +++ b/src/components/molecules/RobotEdit.tsx @@ -182,12 +182,8 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin sx={{ color: '#ff00c3 !important', borderColor: '#ff00c3 !important', - '&:hover': { - borderColor: '#ff00c3 !important', - backgroundColor: 'whitesmoke !important', - } - }} - > + backgroundColor: 'whitesmoke !important', + }}> {t('robot_edit.cancel')} diff --git a/src/components/molecules/ScheduleSettings.tsx b/src/components/molecules/ScheduleSettings.tsx index 95282163..f0a5816d 100644 --- a/src/components/molecules/ScheduleSettings.tsx +++ b/src/components/molecules/ScheduleSettings.tsx @@ -281,10 +281,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia sx={{ color: '#ff00c3 !important', borderColor: '#ff00c3 !important', - '&:hover': { - borderColor: '#ff00c3 !important', - backgroundColor: 'whitesmoke !important', - } + backgroundColor: 'whitesmoke !important', }}> {t('schedule_settings.buttons.cancel')}