Bug 2062920 - Project selector is too tall with only a few projects
Summary: Project selector is too tall with only a few projects
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.11.0
Assignee: Yadan Pei
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-10 22:20 UTC by Andy Braren
Modified: 2022-08-10 10:53 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:53:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Very tall project dropdown (658.82 KB, image/png)
2022-03-10 22:20 UTC, Andy Braren
no flags Details
project selector dropdown (102.62 KB, image/png)
2022-06-29 05:47 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11748 0 None open Bug 2062920: Remove the namespace dropdown set menu height to prevent unneccessary… 2022-06-22 18:13:34 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:53:49 UTC

Description Andy Braren 2022-03-10 22:20:01 UTC
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:

Comment 6 Yadan Pei 2022-06-29 05:47:08 UTC
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

Comment 7 errata-xmlrpc 2022-08-10 10:53:13 UTC
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


Note You need to log in before you can comment on or make changes to this bug.