Commit 4ea5f928 authored by Yue Li's avatar Yue Li Committed by Commit Bot

[Assistant Opt-in] Adaptive to small screens

Smaller screen treatment for padding and scaling:
https://spec.googleplex.com/crosux-spec/feature-specs/oobe-system-window.html

Bug: 1033273
Test: Manual Test
Change-Id: I9938b1c728d66f1a914138102fe3ea466b08875c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079544Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Yue Li <updowndota@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745570}
parent 1dd58b26
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* found in the LICENSE file. */ * found in the LICENSE file. */
#intro-text { #intro-text {
padding-bottom: 58px; padding-bottom: 48px;
} }
#ready-img { #ready-img {
...@@ -26,3 +26,23 @@ ...@@ -26,3 +26,23 @@
#toggles-container { #toggles-container {
width: 50%; width: 50%;
} }
@media screen and (max-height: 736px) {
#intro-text {
padding-bottom: 24px;
}
}
@media screen and (max-height: 536px) {
#intro-text {
padding-bottom: 16px;
}
#ready-img {
height: 160px;
}
.vertical-line {
height: 160px;
}
}
...@@ -50,6 +50,16 @@ ...@@ -50,6 +50,16 @@
width: 360px; width: 360px;
} }
@media screen and (max-height: 736px) {
#voice-match-animation {
height: 150px;
}
#already-setup-animation {
height: 240px;
}
}
#intro-container, #intro-container,
#recording-container, #recording-container,
#already-setup-container { #already-setup-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