Skip to content

Commit 45efc39

Browse files
committed
fix(landing): make the knowledge-answer question bubble visible on light tiles
The frameless vignette sits directly on the tile's --surface-3 fill, so the build tile's --surface-3 bubble treatment vanished. The question chip now uses the graphic family's white card chrome (--white fill, --border-1 hairline), matching its own source card. Also restores biome's import order in the workflows editor-loop wrapper (fixes the failing lint:check CI step).
1 parent 17bd73e commit 45efc39

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

apps/sim/app/(landing)/solutions/components/feature-graphics/knowledge-answer-graphic.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ import styles from '@/app/(landing)/solutions/components/feature-graphics/knowle
77
* An internal help-desk agent answering from the team's own docs, told
88
* as a frameless chat vignette (the audit and monitoring tiles'
99
* composition — no window chrome): the employee's question sits
10-
* right-aligned in the build tile's chat-bubble treatment (`--surface-3`
11-
* fill, rounded), the agent's grounded answer reads back as plain
10+
* right-aligned as a chat bubble in the family's white card chrome
11+
* (`--white` fill, 1px `--border-1` hairline — the build tile's
12+
* `--surface-3` bubble would vanish against this tile's own
13+
* `--surface-3` fill), the agent's grounded answer reads back as plain
1214
* `--text-primary` prose, and the tile's highlight is the citation — a
1315
* white source card in the audit tile's exact chrome (`--white` fill,
1416
* 1px `--border-1` hairline, `rounded-xl`, `shadow-sm`) pairing a
@@ -57,7 +59,7 @@ export function KnowledgeAnswerGraphic({
5759
<div className='flex w-full max-w-[312px] flex-col gap-3 sm:max-lg:[@container(min-width:500px)]:max-w-[400px]'>
5860
<div
5961
className={cn(
60-
'max-w-[85%] self-end rounded-lg bg-[var(--surface-3)] px-3 py-2 text-[var(--text-primary)] text-caption leading-[1.5]',
62+
'max-w-[85%] self-end rounded-lg border border-[var(--border-1)] bg-[var(--white)] px-3 py-2 text-[var(--text-primary)] text-caption leading-[1.5]',
6163
styles.stepQuestion
6264
)}
6365
>

apps/sim/app/(landing)/workflows/components/workflows-editor-loop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use client'
22

3-
import { EditorLoop, type EditorLoopContent } from '@/app/(landing)/components/shared/editor-loop'
43
import {
54
AgentIcon,
65
ConditionalIcon,
@@ -9,6 +8,7 @@ import {
98
StartIcon,
109
TableIcon,
1110
} from '@/components/icons'
11+
import { EditorLoop, type EditorLoopContent } from '@/app/(landing)/components/shared/editor-loop'
1212

1313
/**
1414
* The workflows hero's content for the shared {@link EditorLoop}: a builder's

0 commit comments

Comments
 (0)