Skip to content

Commit d2e0324

Browse files
authored
Merge pull request #781 from getmaxun/instruct-fix
fix: limit instruction highlighting
2 parents 02f09e0 + 0ad7666 commit d2e0324

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/components/recorder/RightSidePanel.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -940,17 +940,15 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
940940

941941
{showLimitOptions && (
942942
<FormControl>
943-
<FormLabel>
944-
<Typography variant="h6" sx={{
945-
fontSize: '16px',
946-
fontWeight: 'bold',
947-
mb: 1,
948-
whiteSpace: 'normal',
949-
wordBreak: 'break-word'
950-
}}>
951-
{t('right_panel.limit.title')}
952-
</Typography>
953-
</FormLabel>
943+
<Typography variant="h6" sx={{
944+
fontSize: '16px',
945+
fontWeight: 'bold',
946+
mb: 1,
947+
whiteSpace: 'normal',
948+
wordBreak: 'break-word'
949+
}}>
950+
{t('right_panel.limit.title')}
951+
</Typography>
954952
<RadioGroup
955953
value={limitType}
956954
onChange={(e) => updateLimitType(e.target.value as LimitType)}
@@ -1191,4 +1189,4 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
11911189
</Box>
11921190
</Paper>
11931191
);
1194-
};
1192+
};

0 commit comments

Comments
 (0)