Skip to content

fix: keep chat compaction modal fully visible#1644

Open
ruizanthony wants to merge 2 commits into
agent0ai:mainfrom
ruizanthony:fix/chat-compaction-modal-scroll
Open

fix: keep chat compaction modal fully visible#1644
ruizanthony wants to merge 2 commits into
agent0ai:mainfrom
ruizanthony:fix/chat-compaction-modal-scroll

Conversation

@ruizanthony
Copy link
Copy Markdown

Summary

  • Constrain the chat compaction modal to the visible viewport with max-height: 85dvh.
  • Use a flex-column layout so the header and footer remain fixed while the modal body scrolls.
  • Apply the same overflow fix to both chat compaction modal templates.

Why

On smaller viewports, clicking the Compact button could open a confirmation form that was not fully visible. This made the footer/actions hard or impossible to reach.

Testing

  • Verified the patch only changes the two chat compaction modal HTML templates.
  • Checked the resulting diff and CSS rules for the scrollable body and fixed header/footer layout.

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.

1 participant