Commit 3746343b authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

Update other elements that depend on shelf height

Bug: 999477
Change-Id: I1cd1df490123ba0ce1160589d2bbcc6ebb76b82b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1792868Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Denis Kuznetsov <antrim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695102}
parent 23101000
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
oobe-dialog { oobe-dialog {
height: 640px; height: 640px;
max-height: calc(100vh - 56px); /* Subtracting LoginShelfView's height. */ /* Subtracting LoginShelfView's height. */
max-height: calc(100vh - var(--shelf-area-height));
max-width: 100vw; max-width: 100vw;
min-height: 0 !important; /* Making <oobe-dialog> shrinkable. */ min-height: 0 !important; /* Making <oobe-dialog> shrinkable. */
min-width: 0 !important; /* Making <oobe-dialog> shrinkable. */ min-width: 0 !important; /* Making <oobe-dialog> shrinkable. */
......
...@@ -19,7 +19,8 @@ html[adaptive-oobe] { ...@@ -19,7 +19,8 @@ html[adaptive-oobe] {
display: flex; display: flex;
justify-content: center; justify-content: center;
left: 0; left: 0;
min-height: 717px; /* This enables scrolling. Min resolution: 1024x768 */ /* 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;
......
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