-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Web Inspector: REGRESSION(?): Console: find results count has no left padding #13645
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
Conversation
EWS run on previous version of this PR (hash a318f59)
|
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 think we can use the logical border radius properties here. e.g. border-start-start-radius
(https://developer.mozilla.org/en-US/docs/Web/CSS/border-start-start-radius)
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.
actually turns out we don't really need these anymore cause of --find-banner-search-box-border-radius-start
EWS run on current version of this PR (hash f061091)
|
… padding https://bugs.webkit.org/show_bug.cgi?id=256531 Reviewed by Patrick Angle. * Source/WebInspectorUI/UserInterface/Views/FindBanner.css: (.find-banner): (.find-banner > input[type="search"]): (.find-banner > button): (.find-banner > button.segmented): (.find-banner > label): (.find-banner > label:not(:empty)): Added. (.find-banner > :first-child): Deleted. (.find-banner > :last-child): Deleted. (.find-banner.console-find-banner): Deleted. (body .find-banner.console-find-banner): Deleted. (.find-banner.console-find-banner > input[type="search"]): Deleted. (body[dir=ltr] .find-banner.console-find-banner > input[type="search"]): Deleted. (body[dir=rtl] .find-banner.console-find-banner > input[type="search"]): Deleted. (.find-banner.console-find-banner > :is(input[type="search"], button)): Deleted. (.find-banner.console-find-banner > input[type="search"]::-webkit-textfield-decoration-container): Deleted. (.find-banner.console-find-banner > input[type="search"]:focus, .find-banner.console-find-banner > input[type="search"]:focus ~ button, .find-banner.console-find-banner > input[type="search"]:not(:placeholder-shown), .find-banner.console-find-banner > input[type="search"]:not(:placeholder-shown) ~ button): Deleted. * Source/WebInspectorUI/UserInterface/Views/LogContentView.css: (.navigation-bar > .item.find-banner.console): Added. (:not(.console-drawer) > .navigation-bar > .item.find-banner.console): Added. (.navigation-bar > .item.find-banner.console > input[type="search"]): Added. (.navigation-bar > .item.find-banner.console > :is(input[type="search"], button)): Added. (.navigation-bar > .item.find-banner.console > input[type="search"]::-webkit-textfield-decoration-container): Added. (.navigation-bar > .item.find-banner.console > input[type="search"]:focus, .navigation-bar > .item.find-banner.console > input[type="search"]:focus ~ button, .navigation-bar > .item.find-banner.console > input[type="search"]:not(:placeholder-shown), .navigation-bar > .item.find-banner.console > input[type="search"]:not(:placeholder-shown) ~ button ): Added. (.console-find-banner): Deleted. Avoid using `:first-child`/`:last-child` (and `!important`) as they have very little control over what kinds of situations they apply (e.g. we don't want to add padding to `label:empty`). Don't add any outside `margin` as that's handled by the containing `WI.NavigationBar` (or adjacent `WI.NavigationItem`) unless we know for sure that it's the first/last `WI.NavigationItem` in the `WI.NavigationBar`. Drive-by: Move styles to a more relevant location. * Source/WebInspectorUI/UserInterface/Views/FindBanner.js: (WI.FindBanner): * Source/WebInspectorUI/UserInterface/Views/LogContentView.js: (WI.LogContentView): Drive-by: Rework optional parameters into `{...} = {}` to match existing pattern elsewhere. Canonical link: https://commits.webkit.org/264167@main
f061091
to
347111d
Compare
Committed 264167@main (347111d): https://commits.webkit.org/264167@main Reviewed commits have been landed. Closing PR #13645 and removing active labels. |
347111d
f061091
🛠 wincairo🧪 wpe-wk2🧪 ios-wk2🧪 api-mac🧪 ios-wk2-wpt🧪 api-ios🧪 mac-AS-debug-wk2