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

Unified Diff: Source/devtools/front_end/main/OverridesView.js

Issue 421543003: [DevTools] Fix emulation drawer button styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/overrides.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/OverridesView.js
diff --git a/Source/devtools/front_end/main/OverridesView.js b/Source/devtools/front_end/main/OverridesView.js
index 5131bc8e22ae4ae71517bc0356d09b462b22b531..6a768a7b08c0dc1aa519e4d84d1fbaa180fc353c 100644
--- a/Source/devtools/front_end/main/OverridesView.js
+++ b/Source/devtools/front_end/main/OverridesView.js
@@ -213,7 +213,12 @@ WebInspector.OverridesView.DeviceTab.prototype = {
var deviceModelElement = fieldsetElement.createChild("p", "overrides-device-model-section");
deviceModelElement.createChild("span").textContent = WebInspector.UIString("Model:");
- deviceModelElement.appendChild(WebInspector.OverridesUI.createDeviceSelect(document, this._showTitleDialog.bind(this)));
+
+ var deviceSelectElement = WebInspector.OverridesUI.createDeviceSelect(document, this._showTitleDialog.bind(this));
+ var buttons = deviceSelectElement.querySelectorAll("button");
+ for (var i = 0; i < buttons.length; ++i)
+ buttons[i].classList.add("settings-tab-text-button");
+ deviceModelElement.appendChild(deviceSelectElement);
var emulateResolutionCheckbox = WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIString("Emulate screen resolution"), WebInspector.overridesSupport.settings.emulateResolution, true);
fieldsetElement.appendChild(emulateResolutionCheckbox);
« no previous file with comments | « no previous file | Source/devtools/front_end/overrides.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698