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

Unified Diff: components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js

Issue 2788323002: SafeBrowsing: update interstitial layouts (Closed)
Patch Set: Switch to proportional margins Created 3 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: components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js
diff --git a/components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js b/components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js
index f296232387cf887bd5a238f8e53f0f30f26ce556..8980099504c348afad5deb5d971bbbbb3fc21e0f 100644
--- a/components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js
+++ b/components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js
@@ -12,10 +12,9 @@ function onResize() {
var helpOuterBox = document.querySelector('#details');
var mainContent = document.querySelector('#main-content');
var mediaQuery = '(min-width: 240px) and (max-width: 420px) and ' +
- '(max-height: 736px) and (min-height: 401px) and ' +
- '(orientation: portrait), (max-width: 736px) and ' +
- '(max-height: 420px) and (min-height: 240px) and ' +
- '(min-width: 421px) and (orientation: landscape)';
+ '(min-height: 401px), ' +
+ '(max-height: 736px) and (min-height: 240px) and ' +
+ '(min-width: 421px)';
var detailsHidden = helpOuterBox.classList.contains('hidden');
var runnerContainer = document.querySelector('.runner-container');

Powered by Google App Engine
This is Rietveld 408576698