Skip to content

fix: wrap account deletion alert text to prevent 3-column layout#295

Merged
dkhalife merged 1 commit intomainfrom
fix/account-deletion-alert-layout
Apr 4, 2026
Merged

fix: wrap account deletion alert text to prevent 3-column layout#295
dkhalife merged 1 commit intomainfrom
fix/account-deletion-alert-layout

Conversation

@dkhalife
Copy link
Copy Markdown
Owner

@dkhalife dkhalife commented Apr 4, 2026

MUI Joy's Alert component uses flexbox layout, which caused the mixed text and <strong> children to render as three separate flex columns instead of a single sentence.

Fix: Wrap the alert content in a so the text flows inline as one continuous message.

Before:
The message was split across 3 columns: text | bold date | text

After:
The message renders as a single, readable sentence.

MUI Joy Alert uses flexbox, causing mixed text and <strong> children
to render as separate flex items. Wrapping in a <span> keeps the
message as a single inline flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 4, 2026 02:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a layout issue in the frontend Settings → Account Deletion warning where MUI Joy’s Alert flexbox layout was rendering mixed text and <strong> children as separate columns. The alert message is wrapped in a single inline container so it flows as one continuous sentence.

Changes:

  • Wrap the account deletion warning Alert message content in a single <span> to prevent multi-column flex item rendering.
Show a summary per file
File Description
frontend/src/views/Settings/AccountDeletion.tsx Wraps the warning alert’s mixed inline content in a single child element to keep text rendering as one sentence.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@dkhalife dkhalife merged commit 23af075 into main Apr 4, 2026
10 checks passed
@dkhalife dkhalife deleted the fix/account-deletion-alert-layout branch April 4, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants