rubyforgood/human-essentials

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

Ouverte

#5 556 ouverte le 3 mai 2026

 (6 commentaires) (0 réaction) (0 personne assignée)Ruby (592 forks)github user discovery
Good First Issuestale

Métriques du dépôt

Stars
 (583 étoiles)
Métriques de merge PR
 (Merge moyen 90j 16h) (22 PRs mergées en 30 j)

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

Guide contributeur