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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 1937183002: DevTools: fix styles in rendering pane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made style more generic Created 4 years, 8 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: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index 60c298bbf6a995808b3cb1d95f170cc0101d93ac..adfac5097c72678ec999c60af377a2c28c22240d 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1282,6 +1282,7 @@ function createCheckboxLabel(title, checked, subtitle)
if (subtitle !== undefined) {
element.subtitleElement = element.textElement.createChild("div", "dt-checkbox-subtitle");
element.subtitleElement.textContent = subtitle;
+ element.textElement.classList.add("small-subtitle");
pfeldman 2016/05/02 17:31:52 Do you want to add this style to the subtitle, not
luoe 2016/05/02 17:39:42 Really, I want style for the text to change, bigge
pfeldman 2016/05/02 18:51:52 I don't think the text style should change based o
}
}
return element;

Powered by Google App Engine
This is Rietveld 408576698