Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard dropdown max visible items #2678

Merged
merged 8 commits into from
Mar 7, 2024

Conversation

MatsM16
Copy link
Contributor

@MatsM16 MatsM16 commented Mar 6, 2024

9 or less items in the dropdown:

The popup scales to fit the items.
4 items in the dropdown

10 items in the dropdown:

The popup has scaled to its maximum size, but will not show a scrollbar
10 items in the dropdown

11 or more items in the dropdown:

The popup has scaled to its maximum size and shows a scrollbar.
11 items in the dropdown

Microsoft Reviewers: Open in CodeFlow

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 6, 2024
@MatsM16 MatsM16 force-pushed the dashboard-dropdown-max-visible-items branch from 74df15b to b0a83e6 Compare March 6, 2024 19:52
@MatsM16
Copy link
Contributor Author

MatsM16 commented Mar 6, 2024

Rebased to latest main-branch.
Added resource-list class to ResourceSelect component to reflect changes to main.

Copy link
Member

@JamesNK JamesNK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Recommended a minor change to be consistent with the rest of the app

@JamesNK
Copy link
Member

JamesNK commented Mar 6, 2024

I added a little more to the height to take into account padding. Will merge. Thanks!

@JamesNK JamesNK enabled auto-merge (squash) March 6, 2024 23:27
@JamesNK JamesNK merged commit 8e45283 into dotnet:main Mar 7, 2024
8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-dashboard community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboard resource dropdowns max height
2 participants