diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index cdb0f4b5..89a48679 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -255,33 +255,42 @@ export const RightSidePanel: React.FC = ({ onFinishCapture )} {showLimitOptions && ( - - -

What is the maximum number of rows you want to extract?

-
- updateLimitType(e.target.value as LimitType)} sx={{ width: '500px' }}> - } label="10" /> - } label="100" /> - } label="Custom" /> - {limitType === 'custom' && ( - updateCustomLimit(e.target.value)} - placeholder="Enter number" - sx={{ - marginLeft: '10px', - marginTop: '-3px', - '& input': { - padding: '10px', - }, - }} - /> - )} - -
- + + +

What is the maximum number of rows you want to extract?

+
+ updateLimitType(e.target.value as LimitType)} + sx={{ + display: 'flex', + flexDirection: 'column', + width: '500px' + }} + > + } label="10" /> + } label="100" /> +
+ } label="Custom" /> + {limitType === 'custom' && ( + updateCustomLimit(e.target.value)} + placeholder="Enter number" + sx={{ + marginLeft: '10px', + '& input': { + padding: '10px', + }, + }} + /> )} +
+
+
+)} + {!getText && !getScreenshot && !getList && } {getText && <>