Merge pull request #781 from getmaxun/instruct-fix

fix: limit instruction highlighting
This commit is contained in:
Karishma Shukla
2025-09-21 20:45:26 +05:30
committed by GitHub

View File

@@ -940,17 +940,15 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
{showLimitOptions && ( {showLimitOptions && (
<FormControl> <FormControl>
<FormLabel> <Typography variant="h6" sx={{
<Typography variant="h6" sx={{ fontSize: '16px',
fontSize: '16px', fontWeight: 'bold',
fontWeight: 'bold', mb: 1,
mb: 1, whiteSpace: 'normal',
whiteSpace: 'normal', wordBreak: 'break-word'
wordBreak: 'break-word' }}>
}}> {t('right_panel.limit.title')}
{t('right_panel.limit.title')} </Typography>
</Typography>
</FormLabel>
<RadioGroup <RadioGroup
value={limitType} value={limitType}
onChange={(e) => updateLimitType(e.target.value as LimitType)} onChange={(e) => updateLimitType(e.target.value as LimitType)}
@@ -1191,4 +1189,4 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
</Box> </Box>
</Paper> </Paper>
); );
}; };