Fleet UI: Scrollable dropdown, ensure z-index (#43515)

## Issue
Closes #42655

## Description
- Will need cherry-pick into 4.84.0 RC
- Whackamole issue that popped up when changing the overflow
- Ensured DOM/z-index has no issues + dropdown options are scrollable

## Testing

- [x] QA'd all new/changed functionality manually

ub.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md))


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Bug Fixes**
* Improved dropdown menu usability by enabling scrollable lists with
consistent height constraints, preventing menus from extending
excessively.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Rachel Perkins <rachel@Rachels-MacBook-Pro.local>
This commit is contained in:
RachelElysia 2026-04-14 11:36:33 -04:00 committed by GitHub
parent 1318102206
commit 08bb520b0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,8 +224,8 @@
}
.Select-menu {
max-height: none; // Important to scroll in .Select-menu-outer
overflow: visible;
max-height: 182px; // Scrollable within .Select-menu-outer
overflow-y: auto;
}
.Select-noresults {