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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css

Issue 1650243004: [DevTools] Option to show device frames in emulation mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disallow rulers and device frame to be show simultaneously 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/emulation/deviceModeView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css b/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css
index 7351960afbc912116598f214d4fafec136d4df40..9613727c2dff631f5c6dcb631bbe93819319ba79 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/deviceModeView.css
@@ -48,10 +48,6 @@
box-shadow: inset 0 -1px #ccc;
}
-.device-mode-content-clip:not(.device-mode-rulers-visible) .device-mode-media-container {
- margin-bottom: 20px;
-}
-
.device-mode-presets-container {
flex: 0 0 20px;
display: flex;
@@ -133,6 +129,10 @@
height: 100%;
}
+.device-mode-outline-image.device-frame-visible + .device-mode-screen-area {
+ box-shadow: none;
+}
+
.device-mode-resizer {
position: absolute;
display: flex;

Powered by Google App Engine
This is Rietveld 408576698