Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,23 @@
[class*="prc-Overlay-Overlay"] {
overflow: visible !important;
}

/*
* Override for GitHub's toolbar alignment bug
*
* When the review modal gets a vertical scrollbar, GitHub's media query
* incorrectly applies justify-content: flex-end to the toolbar, causing misalignment
* of toolbar items.
*
* GitHub's problematic rule:
* @media (width > 600px) {
* .Toolbar-module__toolbar--TBvFM:last-child {
* justify-content: flex-end;
* }
* }
*
* This override forces the correct alignment when the giphy field is present.
*/
.ghg-has-giphy-field [class*="Toolbar-module__toolbar"] {
justify-content: flex-end !important
}