Skip to content

Commit a78cf2b

Browse files
authored
Merge pull request #842 from RohitR311/capflow-revamp
fix: ui enhancements capture revamp flow
2 parents 58aff98 + f9309a7 commit a78cf2b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/components/run/InterpretationLog.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,16 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
513513
{t('interpretation_log.titles.output_preview')}
514514
</Typography>
515515

516+
{!(hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction) && (
517+
<Grid container justifyContent="center" alignItems="center" style={{ height: '100%' }}>
518+
<Grid item>
519+
<Typography variant="h6" gutterBottom align="left">
520+
{t('interpretation_log.messages.no_selection')}
521+
</Typography>
522+
</Grid>
523+
</Grid>
524+
)}
525+
516526
{showPreviewData && availableTabs.length > 0 && (
517527
<>
518528
{shouldShowTabs && (

src/helpers/capturedElementHighlighter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class CapturedElementHighlighter {
2727
${cssSelector} {
2828
outline: 2px dotted #ff00c3 !important;
2929
outline-offset: 2px !important;
30-
background-color: rgba(255, 0, 195, 0.08) !important;
3130
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
3231
}
3332
`);

0 commit comments

Comments
 (0)