rubyforgood/human-essentials

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

Aperta

#5556 aperta il 3 mag 2026

 (6 commenti) (0 reazioni) (0 assegnatari)Ruby (592 fork)github user discovery
Good First Issuestale

Metriche repository

Star
 (583 stelle)
Metriche merge PR
 (Merge medio 90g 16h) (22 PR mergiate in 30 g)

Descrizione

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

Guida contributor