From 8fae019667166bfbd2db3279f5af53f744bc953e Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 23 Oct 2024 22:26:30 +0530 Subject: [PATCH] feat: margin + remove elevaton --- src/components/organisms/RightSidePanel.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index ee51cf50..93078093 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -374,12 +374,12 @@ export const RightSidePanel: React.FC = ({ onFinishCapture }; return ( - + {/* Last action: {` ${lastAction}`} */} - + {!getText && !getScreenshot && !getList && showCaptureList && } {getList && ( <> @@ -398,7 +398,7 @@ export const RightSidePanel: React.FC = ({ onFinishCapture )} {showPaginationOptions && ( - + How can we find the next list item on the page? @@ -463,7 +463,7 @@ export const RightSidePanel: React.FC = ({ onFinishCapture {browserSteps.map(step => ( - handleMouseEnter(step.id)} onMouseLeave={() => handleMouseLeave(step.id)} sx={{ boxShadow: 5, padding: '10px', margin: '13px', borderRadius: '4px', position: 'relative', background: 'white' }}> + handleMouseEnter(step.id)} onMouseLeave={() => handleMouseLeave(step.id)} sx={{ padding: '10px', margin: '11px', borderRadius: '5px', position: 'relative', background: 'white' }}> { step.type === 'text' && ( <> @@ -472,6 +472,7 @@ export const RightSidePanel: React.FC = ({ onFinishCapture value={textLabels[step.id] || step.label || ''} onChange={(e) => handleTextLabelChange(step.id, e.target.value)} fullWidth + size="small" margin="normal" error={!!errors[step.id]} helperText={errors[step.id]}