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

Unified Diff: ui/webui/resources/js/cr/ui/overlay.js

Issue 104713012: Never force a max dialog height of less than 200 pixels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prevent resizing completely Created 6 years, 12 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 | « chrome/browser/resources/options/reset_profile_settings_overlay.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/overlay.js
diff --git a/ui/webui/resources/js/cr/ui/overlay.js b/ui/webui/resources/js/cr/ui/overlay.js
index 5c0acb2d3dd826d52e3f76e1a3de7b7127671043..67be7598ff759bb64642bc56a2c64dec0182c6c0 100644
--- a/ui/webui/resources/js/cr/ui/overlay.js
+++ b/ui/webui/resources/js/cr/ui/overlay.js
@@ -80,7 +80,8 @@ cr.define('cr.ui.overlay', function() {
* height.
*/
function setMaxHeightAllPages() {
- var pages = document.querySelectorAll('.overlay .page');
+ var pages = document.querySelectorAll(
+ '.overlay .page:not(.not-resizable)');
var maxHeight = Math.min(0.9 * window.innerHeight, 640) + 'px';
for (var i = 0; i < pages.length; i++)
« no previous file with comments | « chrome/browser/resources/options/reset_profile_settings_overlay.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698