rubyforgood/human-essentials

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

开放

#5,556 创建于 2026年5月3日

 (6 条评论) (0 个反应) (0 位负责人)Ruby (593 个派生)github user discovery
Good First Issuestale

仓库指标

星标
 (583 个星标)
PR 合并指标
 (平均合并 90天 16小时) (30 天内合并 22 个 PR)

描述

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

贡献者指南