## Summary
- Adds `mb-2` bottom margin to the file input container in DocumentForm
- Creates consistent vertical spacing between the file input and action buttons
Fixes #19
## Test Plan
- [x] Open Add Document modal on desktop
- [x] Verify spacing between file input and buttons is now consistent
- [x] Open Add Document modal on mobile (full-screen)
- [x] Verify spacing is consistent on mobile
- [x] Lint passes
- [x] Type-check passes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Added mb-2 to the file input container to create consistent spacing
between the Upload image/PDF input and the action buttons below.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
The "Choose File" button and "No file chosen" text were not vertically
centered within the file input box.
Fixed by:
- Using py-2.5 for input padding (10px top/bottom)
- Adding file:my-auto to center the button vertically
- Adjusting file:py-1.5 for button internal padding
Note: flex/items-center don't work on <input> elements as they are
replaced elements. Using padding and margin-auto instead.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Use leading-[44px] to match the h-11 height, which should vertically
center the file input content. Removed padding that was conflicting.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
File inputs are replaced elements that ignore CSS centering properties.
The only reliable solution is to wrap the input in a flex container
with items-center.
Changes:
- Added wrapper div with `flex items-center h-11`
- Moved border/background/focus styles to the wrapper
- Input now uses flex-1 to fill available space
- Used focus-within for focus ring on wrapper
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
mb-2bottom margin to the file input container in DocumentFormFixes #19
Test Plan
🤖 Generated with Claude Code
ac8e411baeto087cf3b06c087cf3b06cto510420e4fd