Changeset 248737 in webkit
- Timestamp:
- Aug 15, 2019, 12:18:43 PM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/SourcesNavigationSidebarPanel.css (modified) (4 diffs)
-
UserInterface/Views/SourcesNavigationSidebarPanel.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r248735 r248737 1 2019-08-15 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Sources: the "No Filter Results" message sits on top of all of the content, preventing any interaction 4 https://bugs.webkit.org/show_bug.cgi?id=200755 5 6 Reviewed by Joseph Pecoraro. 7 8 * UserInterface/Views/SourcesNavigationSidebarPanel.js: 9 (WI.SourcesNavigationSidebarPanel): 10 * UserInterface/Views/SourcesNavigationSidebarPanel.css: 11 (.sidebar > .panel.navigation.sources > .content > .resources-container): Added. 12 (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources-container)): Added. 13 (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > .call-stack-container): 14 (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > .breakpoints-container): 15 (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > .resources-container): Added. 16 (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources)): Deleted. 17 (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > .resources): Deleted. 18 Wrap the resources `WI.TreeOutline` in a <div> so the empty message placeholder that gets 19 inserted after it can be constrained to the size of the `WI.TreeOutline`. 20 1 21 2019-08-15 Devin Rousso <drousso@apple.com> 2 22 -
trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.css
r248735 r248737 93 93 } 94 94 95 .sidebar > .panel.navigation.sources > .content > .resources-container { 96 position: relative; 97 } 98 95 99 .sidebar > .panel.navigation.sources > .content .tree-outline.single-thread { 96 100 -webkit-margin-start: -10px; … … 112 116 } 113 117 114 .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources ) {118 .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources-container) { 115 119 height: 100%; 116 max-height: fit-content;117 120 overflow-y: auto; 118 121 } … … 121 124 flex-grow: 3; 122 125 flex-shrink: 2; 126 max-height: fit-content; 123 127 } 124 128 … … 126 130 flex-grow: 2; 127 131 flex-shrink: 3; 132 max-height: fit-content; 128 133 } 129 134 130 .sidebar > .panel.navigation.sources > .content > .resources {135 .sidebar > .panel.navigation.sources > .content > .resources-container { 131 136 flex-grow: 1; 132 137 flex-shrink: 3; -
trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js
r248480 r248737 234 234 this._resourcesNavigationBar.addNavigationItem(resourceGroupingModeNavigationItem); 235 235 236 let resourcesContainer = document.createElement("div"); 237 resourcesContainer.classList.add("resources-container"); 238 this.contentView.element.insertBefore(resourcesContainer, this._resourcesNavigationBar.element.nextSibling); 239 236 240 this._resourcesTreeOutline = this.contentTreeOutline; 237 this._resourcesTreeOutline.element.classList.add("resources");238 241 this._resourcesTreeOutline.addEventListener(WI.TreeOutline.Event.SelectionDidChange, this._handleTreeSelectionDidChange, this); 239 242 this._resourcesTreeOutline.includeSourceMapResourceChildren = true; 240 this.contentView.element.insertBefore(this._resourcesTreeOutline.element, this._resourcesNavigationBar.element.nextSibling);243 resourcesContainer.appendChild(this._resourcesTreeOutline.element); 241 244 242 245 let onlyShowResourcesWithIssuesFilterFunction = (treeElement) => {
Note:
See TracChangeset
for help on using the changeset viewer.