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

Unified Diff: Source/devtools/front_end/toolbox/ResponsiveDesignView.js

Issue 544013003: DevTools: MQs should start at zero in the grid (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: final fixes 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
« no previous file with comments | « Source/devtools/front_end/responsiveDesignView.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/toolbox/ResponsiveDesignView.js
diff --git a/Source/devtools/front_end/toolbox/ResponsiveDesignView.js b/Source/devtools/front_end/toolbox/ResponsiveDesignView.js
index 96c4a50ee8f06744c159e5680dd0d6f0dbe1cd99..ea19746215a3bbd3f48911a66712e21b539739f8 100644
--- a/Source/devtools/front_end/toolbox/ResponsiveDesignView.js
+++ b/Source/devtools/front_end/toolbox/ResponsiveDesignView.js
@@ -284,7 +284,7 @@ WebInspector.ResponsiveDesignView.prototype = {
const lightLineColor = "rgb(132, 132, 132)";
const darkLineColor = "rgb(114, 114, 114)";
const rulerColor = "rgb(125, 125, 125)";
- const rulerOverlayColor = "rgba(255, 255, 255, 0.4)";
+ const rulerOverlayColor = "rgba(255, 255, 255, 0.2)";
const textColor = "rgb(186, 186, 186)";
const contentsSizeColor = "rgba(0, 0, 0, 0.3)";
@@ -473,7 +473,7 @@ WebInspector.ResponsiveDesignView.prototype = {
this._slidersContainer.style.top = cssCanvasOffset;
this._warningMessage.style.height = cssRulerHeight;
this._mediaInspectorContainer.style.left = cssRulerWidth;
- this._mediaInspectorContainer.style.top = cssRulerHeight;
+ this._mediaInspectorContainer.style.marginTop = cssRulerHeight;
var cssSliderWidth = WebInspector.ResponsiveDesignView.SliderWidth / zoomFactor + "px";
this._heightSliderContainer.style.flexBasis = cssSliderWidth;
« no previous file with comments | « Source/devtools/front_end/responsiveDesignView.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698