Skip to content
Closed
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
4 changes: 2 additions & 2 deletions interface/src/routes/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ export function Settings() {
</div>
{testResult && (
<div
className={`rounded-md border px-3 py-2 text-sm ${
className={`rounded-md border px-3 py-2 text-sm break-all ${

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

break-all fixes overflow but it also wraps normal text mid-word. break-words usually still handles long URLs while keeping typical error messages more readable.

Suggested change
className={`rounded-md border px-3 py-2 text-sm break-all ${
className={`rounded-md border px-3 py-2 text-sm break-words ${

testResult.success
? "border-green-500/20 bg-green-500/10 text-green-400"
: "border-red-500/20 bg-red-500/10 text-red-400"
Expand All @@ -523,7 +523,7 @@ export function Settings() {
)}
{message && (
<div
className={`rounded-md border px-3 py-2 text-sm ${
className={`rounded-md border px-3 py-2 text-sm break-all ${
message.type === "success"
? "border-green-500/20 bg-green-500/10 text-green-400"
: "border-red-500/20 bg-red-500/10 text-red-400"
Expand Down