Bug 2062920
| Summary: | Project selector is too tall with only a few projects | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Andy Braren <abraren> | ||||||
| Component: | Management Console | Assignee: | Yadan Pei <yapei> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 4.11 | ||||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.11.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2022-08-10 10:53:13 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1893325 [details]
project selector dropdown
project selector dropdown now adapt height to the number of projects
verified on 4.11.0-0.nightly-2022-06-28-160049
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069 |
Created attachment 1865275 [details] Very tall project dropdown Description of problem: The project selector has inline styling for a minimum height set by --pf-c-menu__content--Height that looks way too tall with just a few personal projects, which I believe is what most users have access to. Removing that property makes it resize to its content, which looks more natural. Version-Release number of selected component (if applicable): 4.11 I think, the latest version. How reproducible: Click the project selector, turn off the "Show default projects" switch if needed, and notice the height of the dropdown. Steps to Reproduce: 1. Click the project selector 2. Turn off the "Show default projects" toggle if needed 3. Bear witness to the super tall dropdown Actual results: Way too tall. Expected results: Not so tall. See the screenshot in the comment below where I disabled --pf-c-menu__content--Height. Additional info: