Commit 83200265 authored by noms@chromium.org's avatar noms@chromium.org

Fix account picker centering

There's a line in screen_container.css that hardcodes a width of 1100px for body:not(.oobe-display) #inner-container 
(which applies to the account picker). Setting the right class to the outer container fixes this.

TBR=estade@chromium.org
BUG=257033

Review URL: https://chromiumcodereview.appspot.com/23774004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221556 0039d316-1c4b-4281-b951-d872f2087c98
parent cd7cab07
......@@ -1117,6 +1117,13 @@ cr.define('login', function() {
// Cancel any pending resize operation.
this.removeEventListener('mouseout', this.deferredResizeListener_);
// If this pod row is used in the desktop user manager, we need to
// force a resize, as it may be a background window which won't get a
// mouseout event for a while; the pods would be displayed incorrectly
// until then.
if (this.preselectedPod.user.isDesktopUser)
this.resize_(columns, rows);
if (!this.columns || !this.rows) {
// Set initial dimensions.
this.resize_(columns, rows);
......
......@@ -31,7 +31,7 @@
<script src="user_manager.js"></script>
<script src="chrome://user-manager/strings.js"></script>
</head>
<body class="login-display" i18n-values=".style.fontFamily:fontfamily;">
<body class="oobe-display" i18n-values=".style.fontFamily:fontfamily;">
<div id="outer-container">
<div id="oobe" class="faded">
<div id="inner-container">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment