- Component: NumberScreen
- Uses: ScreenLayout (max-w-2xl = 672px)
- Form:
<form className="w-full space-y-8"> - Input:
<Input />withw-full px-5 sm:px-6 py-5 sm:py-[18px]
- Component: SingleSelectScreen
- Uses: ScreenLayout (max-w-2xl = 672px)
- Buttons: SingleSelectButtonGroup
- Button:
w-full py-5 sm:py-[18px] px-5 sm:px-6
- Screen A:
<div className="w-full max-w-2xl mx-auto">(ScreenLayout) - Screen B:
<div className="w-full max-w-2xl mx-auto">(ScreenLayout) - Result: SAME ✓
- Screen A:
<form className="w-full space-y-8"> - Screen B: Direct children in ScreenLayout
- Potential Issue: form element might have browser default styles?
- Screen A: Input with
w-full px-5 sm:px-6 py-5 sm:py-[18px] rounded-xl sm:rounded-2xl - Screen B: Buttons with
w-full py-5 sm:py-[18px] px-5 sm:px-6 rounded-xl sm:rounded-2xl - Result: SAME padding ✓
- Browser cache: User may need hard refresh (Cmd+Shift+R / Ctrl+Shift+R)
- Form element: Browser default margins/padding on form
- Something else: Hidden constraint we haven't found
Check if the form element in NumberScreen needs explicit width reset.