-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[GTK] Extraneous empty bar shown in detached inspector windows #28170
Conversation
EWS run on current version of this PR (hash 621f212) |
https://bugs.webkit.org/show_bug.cgi?id=255585 Reviewed by Carlos Garcia Campos. The WI.undockedTitleAreaHeight() function only returns non-zero values for Mac, but in Variables.css the --undocked-title-area-height variable is set always to a non-zero value, the exact value depending on the MacOS version. Add an :is(.mac-platform) match to leave the value unchanged from zero in any non-Mac platform to keep the value in sync with what WI.undockedTitleAreaHeight() returns. * Source/WebInspectorUI/UserInterface/Views/Variables.css: Only change the --undocked-title-area-height variable for Mac. Canonical link: https://commits.webkit.org/278418@main
621f212
to
0995cf2
Compare
Committed 278418@main (0995cf2): https://commits.webkit.org/278418@main Reviewed commits have been landed. Closing PR #28170 and removing active labels. |
Backported into the 2.44 branch as commit 049054f |
@@ -424,7 +424,7 @@ body { | |||
} | |||
} | |||
|
|||
&:not(.mac-platform.monterey, .mac-platform.big-sur):not(.docked) { | |||
&:is(.mac-platform):not(.mac-platform.monterey, .mac-platform.big-sur):not(.docked) { |
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.
i feel like this would be better written as
&:is(.mac-platform):not(.monterey, .big-sur):not(.docked) {
or even more ideally as
&:is(.mac-platform.catalina):not(.docked) {
since i dont think we support anything before macOS 10.15 Catalina
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.
@dcrousso I'll send a follow-up, for this I tried to apply only the smallest change that would avoid applying the non-zero size to non-Mac platforms.
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.
0995cf2
621f212