rubyforgood/human-essentials

On Distributions from Requests, make item dropdown sensitive to window resizing.

Open

#5,556 opened on May 3, 2026

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Ruby (576 forks)github user discovery
Good First Issuestale

Repository metrics

Stars
 (571 stars)
PR merge metrics
 (Avg merge 90d 16h) (22 merged PRs in 30d)

Description

Summary

On distributions from requests, if you make your screen narrower, the item dropdown is hiding the additional information for the requested item. Make it so it isn't!

Why

Makes the form a lot less useful!

Details

What seems to be happening here is that if you resize your window while you are in the distributions screen, the item dropdown does not adjust if the window gets narrower.

To see this, sign in as org_admin1@example.com, then click Requests, click view beside a request, and click "Fulfil Request" at the bottom. Make your screen as narrow as the item drop down.

[Note: this happens on the regular distribution as well! We just got the complaint about the request version]

FWIW, The longest item name in production is 116 characters, and we'd need maybe 10 more characters to show the amount available.

Note -- if your window is already narrow when you start, it works ok.

Criteria for completion

  • make the item dropdown width sensitive to changing the window width
  • include screenshots in your PR

Contributor guide