Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1942)

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1351413002: DevTools: remove padding before pseudo-element matched styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
index 2be77f499c78d5d47b0c5ccb7183fa181b4de590..1af04b2c1d6da6b4760921f545ab0acade2613ad 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -454,9 +454,6 @@ WebInspector.StylesSidebarPane.prototype = {
this._sectionBlocks.push(block);
}
- if (!!node.pseudoType())
- this._appendTopPadding();
-
for (var block of this._sectionBlocks) {
var titleElement = block.titleElement();
if (titleElement)
@@ -558,13 +555,6 @@ WebInspector.StylesSidebarPane.prototype = {
return cascade;
},
- _appendTopPadding: function()
- {
- var separatorElement = createElement("div");
- separatorElement.className = "styles-sidebar-placeholder";
- this._sectionsContainer.appendChild(separatorElement);
- },
-
/**
* @param {!WebInspector.SectionCascade} matchedCascade
* @return {!Array.<!WebInspector.SectionBlock>}
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698