UI: Fix dropdown height bug (#12215)

**Disabled the Platform dropdown's default max-height to allow it to
fully encompass its contents, which are now longer with the addition of
the ChromeOS option.**

Before (Chrome and Safari):
<img width="273" alt="Screenshot 2023-06-07 at 6 14 56 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/8fb6d0b6-20e2-4a80-ad75-a56fc60f1697">

After (All 3 browsers):
<img width="246" alt="Screenshot 2023-06-07 at 6 08 35 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/374ca4bc-b532-487c-846a-46e505b77bf2">

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling 2023-06-08 12:11:18 -04:00 committed by GitHub
parent 0c9528d360
commit 35492bcef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,14 @@
&__platform_dropdown {
width: 138px;
.Select-menu-outer {
max-height: none;
.Select-menu {
max-height: none;
}
}
}
&__section {