-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working🧹 ImprovementsImprovements to existing features. Mostly UX/UIImprovements to existing features. Mostly UX/UI
Description
Issue Summary
Mobile layout inconsistencies in API Keys settings page and dialog form. The mobile view lacks proper spacing and layout alignment compared to the desktop view, specifically affecting the "Add API key" button positioning and informational boxes spacing in the API key creation dialog.
Steps to Reproduce
- Navigate to Settings → Developer → API Keys
- Observe the mobile view layout (or resize browser to mobile width)
- Click on "Add" button to open the API key creation dialog
- Observe the spacing between informational boxes in the dialog
Actual Results
- What's happening right now that is different from what is expected


Expected Results
- This is an ideal result that the system should get after the tests are performed


Technical Details
- Root Cause:
SettingsHeader
component usedblock
layout on mobile instead offlex
withjustify-between
ApiKeyDialogForm
usedblock gap-2 sm:flex
which removed gap spacing on mobile
- Files Affected:
packages/features/settings/appDir/SettingsHeader.tsx
packages/features/ee/api-keys/components/ApiKeyDialogForm.tsx
- CSS Classes: Layout classes needed to be updated to use
flex
with proper responsive behavior
Evidence
Before Fix:
- Mobile view showed stacked layout without proper spacing
- "Add API key" button was centered instead of right-aligned
- Informational boxes in dialog had no spacing between them
After Fix:
- Mobile view now uses
flex justify-between
for consistent button positioning - Dialog form uses
flex flex-col gap-2 sm:flex-row
for proper spacing on all screen sizes - Layout is now consistent between mobile and desktop views
Testing:
- Verified layout works correctly on mobile viewport widths
- Confirmed desktop layout remains unchanged
- Tested responsive behavior across different screen sizes
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working🧹 ImprovementsImprovements to existing features. Mostly UX/UIImprovements to existing features. Mostly UX/UI