Skip to content

Commit ff2689c

Browse files
committed
.
1 parent 27b7c11 commit ff2689c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/style.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,23 @@
5959
[class*="prc-Overlay-Overlay"] {
6060
overflow: visible !important;
6161
}
62+
63+
/*
64+
* Override for GitHub's toolbar alignment bug
65+
*
66+
* When the review modal gets a vertical scrollbar, GitHub's media query
67+
* incorrectly applies justify-content: flex-end to the toolbar, causing misalignment
68+
* of toolbar items.
69+
*
70+
* GitHub's problematic rule:
71+
* @media (width > 600px) {
72+
* .Toolbar-module__toolbar--TBvFM:last-child {
73+
* justify-content: flex-end;
74+
* }
75+
* }
76+
*
77+
* This override forces the correct alignment when the giphy field is present.
78+
*/
79+
.ghg-has-giphy-field [class*="Toolbar-module__toolbar"] {
80+
justify-content: flex-end !important
81+
}

0 commit comments

Comments
 (0)