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 and mindspank committed Dec 18, 2023
1 parent 64aec56 commit e6ade87
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

0 comments on commit e6ade87

Please sign in to comment.