Skip to content

Commit

Permalink
Fix text wrapping in the Imported Source dialog (#3668)
Browse files Browse the repository at this point in the history
* Only apply `break-all` to the source name

* Address feedback
  • Loading branch information
ericpgreen2 authored Dec 9, 2023
1 parent 6f65124 commit 7c667ed
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions web-common/src/features/sources/modal/SourceImportedModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@
<div class="w-6 m-auto ml-0 mr-0">
<CheckCircleNew className="fill-blue-500" size="24px" />
</div>
<div class="break-all">
Source "{$sourceImportedName}" imported successfully.
</div>
<div>Source imported successfully</div>
</div>
<div class="flex flex-auto gap-x-2.5" slot="body">
<div class="w-6" />
<div class="text-slate-500">What would you like to do next?</div>
<div class="text-slate-500">
<span class="font-mono text-slate-800 break-all"
>{$sourceImportedName}</span
> has been ingested. What would you like to do next?
</div>
</div>
<div class="flex flex-row-reverse gap-x-2 mt-4" slot="footer">
<Button on:click={autoGenerateDashboard} type="primary"
Expand Down

1 comment on commit 7c667ed

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.