Title: [253336] trunk/Source/WebInspectorUI
- Revision
- 253336
- Author
- [email protected]
- Date
- 2019-12-10 11:51:30 -0800 (Tue, 10 Dec 2019)
Log Message
Web Inspector: Elements: Styles: there is a double border between the last rule and the class list area or filter area
https://bugs.webkit.org/show_bug.cgi?id=205040
Reviewed by Brian Burg.
* UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:
(.sidebar > .panel.details.css-style.style-rules > .content ~ :matches(.options-container, .class-list-container)): Added.
(.sidebar > .panel.details.css-style > .content ~ .options-container):
Use a CSS transform to move the class list area and filter area up when the Styles panel is
selected in the details sidebar of the Elements Tab.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (253335 => 253336)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-12-10 19:41:40 UTC (rev 253335)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-12-10 19:51:30 UTC (rev 253336)
@@ -1,5 +1,18 @@
2019-12-10 Devin Rousso <[email protected]>
+ Web Inspector: Elements: Styles: there is a double border between the last rule and the class list area or filter area
+ https://bugs.webkit.org/show_bug.cgi?id=205040
+
+ Reviewed by Brian Burg.
+
+ * UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:
+ (.sidebar > .panel.details.css-style.style-rules > .content ~ :matches(.options-container, .class-list-container)): Added.
+ (.sidebar > .panel.details.css-style > .content ~ .options-container):
+ Use a CSS transform to move the class list area and filter area up when the Styles panel is
+ selected in the details sidebar of the Elements Tab.
+
+2019-12-10 Devin Rousso <[email protected]>
+
Web Inspector: REGRESSION(r253167): Elements: class list toggle doesn't stay sticky to the bottom of the sidebar
https://bugs.webkit.org/show_bug.cgi?id=205033
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css (253335 => 253336)
--- trunk/Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css 2019-12-10 19:41:40 UTC (rev 253335)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css 2019-12-10 19:51:30 UTC (rev 253336)
@@ -64,9 +64,14 @@
border-top: 1px solid var(--border-color);
}
+.sidebar > .panel.details.css-style.style-rules > .content ~ :matches(.options-container, .class-list-container) {
+ /* Cover the border-bottom of the last CSS rule. */
+ transform: translateY(-1px);
+}
+
.sidebar > .panel.details.css-style > .content ~ .options-container {
- height: calc(var(--console-prompt-min-height) - 1px);
- padding-top: 1px;
+ height: var(--navigation-bar-height);
+ padding-top: 2px;
}
.sidebar > .panel.details.css-style > .content:not(.supports-new-rule, .has-filter-bar) ~ :matches(.options-container, .class-list-container) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes