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

Unified Diff: Source/devtools/front_end/documentation/DocumentationView.js

Issue 532223002: DevTools: [Documentation] Update empty page style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@iliia-patch
Patch Set: Use flex Created 6 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
Index: Source/devtools/front_end/documentation/DocumentationView.js
diff --git a/Source/devtools/front_end/documentation/DocumentationView.js b/Source/devtools/front_end/documentation/DocumentationView.js
index be3a3bf6d60ef5376bb20f9998454ebb1a5c3bd7..925e75e47e04188d132ee64f3186b72b8e6aeafb 100644
--- a/Source/devtools/front_end/documentation/DocumentationView.js
+++ b/Source/devtools/front_end/documentation/DocumentationView.js
@@ -10,6 +10,7 @@ WebInspector.DocumentationView = function()
{
WebInspector.View.call(this);
this.element.classList.add("documentation-view");
+ this.element.classList.add("vbox");
lushnikov 2014/09/09 14:34:02 I believe we want to use this only for empty page
semeny 2014/09/09 15:38:07 Done.
this.registerRequiredCSS("documentationView.css");
}
@@ -75,8 +76,9 @@ WebInspector.DocumentationView.prototype = {
_createEmptyPage: function()
{
this.element.removeChildren();
- var pageTitle = this.element.createChild("div", "documentation-page-title");
- pageTitle.textContent = WebInspector.UIString("Documentation not available");
+ var pageTitle = this.element.createChild("div", "documentation-not-found");
+ pageTitle.textContent = "No documentation found.";
+ var alignElement = this.element.createChild("div", "documentation-empty-page-align");
lushnikov 2014/09/09 14:34:02 No need for the variable. this.element.createChil
semeny 2014/09/09 15:38:07 Done.
},
__proto__: WebInspector.View.prototype
« no previous file with comments | « no previous file | Source/devtools/front_end/documentationView.css » ('j') | Source/devtools/front_end/documentationView.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698