diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index dbb550d7..f2871aea 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -427,17 +427,18 @@ export const RightSidePanel: React.FC = ({ onFinishCapture } label="Custom" /> {limitType === 'custom' && ( updateCustomLimit(e.target.value)} - placeholder="Enter number" - sx={{ - marginLeft: '10px', - '& input': { - padding: '10px', - background: 'white', - }, - }} + type="number" + value={customLimit} + onChange={(e) => updateCustomLimit(e.target.value)} + placeholder="Enter number" + sx={{ + marginLeft: '10px', + '& input': { + padding: '10px', + background: 'white', + }, + width: '150px', // Ensure the text field does not go outside the panel + }} /> )}