fix: inherit bg for cancel button

This commit is contained in:
amhsirak
2025-11-05 22:01:34 +05:30
parent 5b5aa0d5ab
commit c235ac240e

View File

@@ -121,7 +121,7 @@ export const RobotConfigPage: React.FC<RobotConfigPageProps> = ({
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
minHeight: 0, minHeight: 0,
mt: 2, mt: 1.8,
mb: 5, mb: 5,
}}> }}>
{children} {children}
@@ -160,9 +160,7 @@ export const RobotConfigPage: React.FC<RobotConfigPageProps> = ({
onClick={handleBack} onClick={handleBack}
disabled={isLoading} disabled={isLoading}
sx={{ sx={{
color: '#ff00c3 !important', backgroundColor: 'inherit !important',
borderColor: '#ff00c3 !important',
backgroundColor: 'white !important',
}} > }} >
{cancelButtonText || t("buttons.cancel")} {cancelButtonText || t("buttons.cancel")}
</Button> </Button>