Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/components/ChallengeSandbox/ChallengeSandbox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,15 @@
background-color: var(--bgColor-muted);
}

.suggestionTitle {
font-weight: var(--base-text-weight-semibold);
}

.suggestionReason {
font-style: italic;
color: var(--fgColor-muted);
}

/* Evaluation result */
.resultBadge {
display: inline-flex;
Expand Down
9 changes: 2 additions & 7 deletions src/components/ChallengeSandbox/RelatedSuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,12 @@ export function RelatedSuggestions({
<div key={suggestion.id} className={styles.relatedSuggestionCard}>
<Stack direction="vertical" gap="condensed">
<Stack direction="horizontal" justify="space-between" align="center">
<Text style={{ fontWeight: 600 }}>{suggestion.title}</Text>
<Text className={styles.suggestionTitle}>{suggestion.title}</Text>
<Label variant={getDifficultyVariant(suggestion.difficulty)} size="small">
{suggestion.difficulty}
</Label>
</Stack>
<Text
style={{
fontStyle: 'italic',
color: 'var(--fgColor-muted)',
}}
>
<Text className={styles.suggestionReason}>
{suggestion.reason}
</Text>
<div>
Expand Down
Loading