Only expand Checks list on PRs, not in popups#4130
Conversation
|
On second thought:
Maybe we can avoid changing the popup’s height altogether, and only leave |
| /* Expand merge status lists to fit more items */ | ||
| .branch-action-item-simple > .merge-status-list, /* Dropdowns */ | ||
| .branch-action-item.open > .merge-status-list { /* Pull requests */ | ||
| max-height: 512px !important; |
There was a problem hiding this comment.
| /* Expand merge status lists to fit more items */ | |
| .branch-action-item-simple > .merge-status-list, /* Dropdowns */ | |
| .branch-action-item.open > .merge-status-list { /* Pull requests */ | |
| max-height: 512px !important; | |
| /* Expand PR merge status list to fit more items */ | |
| :root .branch-action-item.open > .merge-status-list { | |
| max-height: none; |
We use :root to avoid !important, which is harder to override by the user.
There was a problem hiding this comment.
Ahh, okay. I saw the other !important uses and compared it to this single use of :root, and thought that was the desired route 😅 I'll address this 👍
Okay, so it sounds like we should just keep what we have for the PR page, and filter out the dropdown/popup. I understand your request 😊 👍 I'll do my best to figure that out and get the change in! |
|
Updated the PR, title, and description to reflect the new request. This now covers addressing the popups/dropdowns, while keeping the PR merge status list infinite. |
|
Thank you for the PR and for following its template, James! 😁 🥨 |
Summary
Expands only the PR merge status list (and not the popups/dropdowns) to fit all items. This can be thought of as a fix for the popups/dropdowns.
Test URL(s)
Screenshot(s)
Long merge status list fixed
References
Fixes #4124.