-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Only expand Checks list on PRs, not in popups #4130
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 |
source/refined-github.css
Outdated
/* 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.