Commit 5c7b3633 authored by Roman Sorokin's avatar Roman Sorokin Committed by Commit Bot

Login gaia-signin: Fit gaia dialog into webdialog

It fixes missing back button

Bug: 1000606, 1009340
Change-Id: If7839758f51f39315317cb7d8c4616ef27736295
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829199Reviewed-by: default avatarDenis Kuznetsov <antrim@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702021}
parent 272a3879
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
left: 0; left: 0;
/* This enables scrolling. Min resolution: 1024x768 */
min-height: calc(768px - var(--shelf-area-height));
perspective: 1px; /* Workaround, see http://crbug.com/360567 */ perspective: 1px; /* Workaround, see http://crbug.com/360567 */
position: absolute; position: absolute;
right: 0; right: 0;
......
...@@ -293,9 +293,11 @@ cr.define('cr.ui.login', function() { ...@@ -293,9 +293,11 @@ cr.define('cr.ui.login', function() {
* @param {number} height client area height * @param {number} height client area height
*/ */
setClientAreaSize: function(width, height) { setClientAreaSize: function(width, height) {
var clientArea = $('outer-container'); if (!cr.isChromeOS) {
var bottom = parseInt(window.getComputedStyle(clientArea).bottom); var clientArea = $('outer-container');
clientArea.style.minHeight = cr.ui.toCssPx(height - bottom); var bottom = parseInt(window.getComputedStyle(clientArea).bottom);
clientArea.style.minHeight = cr.ui.toCssPx(height - bottom);
}
}, },
/** /**
......
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