Skip to content
Merged
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
12 changes: 7 additions & 5 deletions app/components/assessment/DatasetsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,13 @@ export default function DatasetsTab({
Delete dataset
</h3>
<p className="mt-1 text-sm text-text-secondary">
Are you sure you want to delete{" "}
<strong className="text-text-primary">
{datasetPendingDelete?.dataset_name}
</strong>
? This action cannot be undone.
Are you sure you want to delete
</p>
<p className="mt-1 break-all text-sm font-semibold text-text-primary">
{datasetPendingDelete?.dataset_name}?
</p>
<p className="mt-2 text-sm text-text-secondary">
This action cannot be undone.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/assessment/prompt-config/PromptEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default function PromptEditor({

if (previewMode) {
return (
<div className="min-h-[260px] whitespace-pre-wrap break-words rounded-xl border border-border bg-bg-secondary px-4 py-3 text-sm leading-7 text-text-primary">
<div className="h-[260px] overflow-y-auto whitespace-pre-wrap break-words rounded-xl border border-border bg-bg-secondary px-4 py-3 text-sm leading-7 text-text-primary">
{!value.trim() ? (
<span className="text-text-secondary">{emptyPreviewText}</span>
) : enablePlaceholders && Object.keys(sampleRow).length === 0 ? (
Expand Down