openlibhums / openlibhums/janeway

Click area for 'choose file' too large

Open
#4,950 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

a11y bug dev-ready Priority high
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

  1. /manager/settings/images/
  2. Click roughly here:
Image
  1. 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.

Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.