openlibhums / openlibhums/janeway
Click area for 'choose file' too large
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
Describe the bug
The click area/tappable area for the 'Choose file' button (initially found under under image settings) is... quite a bit larger than the button itself. (Comedically so.)
Janeway version
1.8
To Reproduce
- /manager/settings/images/
- Click roughly here:
- Upload file pop-up will appear.
Desktop (please complete the following information):
- Windows / Chrome
Additional context
Not the most urgent, but not what we intended. Also possible a11y implications maybe? Shall leave that with Steph.
So far also spotted on manage/issues -> Create issue -> Choose file for uploading a cover.
Roughly the area which will trigger the Upload File pop up.
BRF
Use CSS to ensure that File Field and reduce their width to the size of the text
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the CSS and templates used by /manager/settings/images/ and manage/issues → Create issue, focusing on the Choose file fields shown in the screenshots. Confirm how the file field width is set and verify the upload trigger area matches the visible text-sized control on both screens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100