Skip to content

fix(comms): align task and send modals to center#1027

Merged
jaberjaber23 merged 1 commit intoRightNow-AI:mainfrom
lc-soft:fix/comms-page-modals-style
Apr 10, 2026
Merged

fix(comms): align task and send modals to center#1027
jaberjaber23 merged 1 commit intoRightNow-AI:mainfrom
lc-soft:fix/comms-page-modals-style

Conversation

@lc-soft
Copy link
Copy Markdown
Contributor

@lc-soft lc-soft commented Apr 10, 2026

Summary

Fixed the issue where the modal was not centered. The problem occurred because the display property was not set to flex when the modal was displayed. Replaced x-show with a dynamic :style binding to explicitly set display: flex when the modal is shown.

Changes

Before After
screenshot-20260410-153520 screenshot-20260410-153427
screenshot-20260410-153241 screenshot-20260410-153345

Testing

  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

Copy link
Copy Markdown
Member

@jaberjaber23 jaberjaber23 left a comment

Choose a reason for hiding this comment

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

LGTM. Fixes the Alpine.js x-show vs display:flex conflict correctly.

@jaberjaber23 jaberjaber23 merged commit 8136281 into RightNow-AI:main Apr 10, 2026
9 of 11 checks passed
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