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

OOBE Multidevice: Adapt the dialog size for different screen sizes

Bug: 1002100
Change-Id: I64fc0840356c189f9c02be5d89ebb24ddb7817f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845220
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704201}
parent c68c13c0
......@@ -29,6 +29,11 @@
<template>
<link rel="stylesheet" href="oobe_popup_overlay.css">
<style include="shared-style multidevice-setup-shared ">
multidevice-setup {
--multidevice-setup-height: var(--oobe-dialog-host-height);
--multidevice-setup-width: var(--oobe-dialog-host-width);
}
#multidevice-help-overlay-container {
width: 768px;
}
......
......@@ -10,6 +10,11 @@
<dom-module id="multidevice-setup-post-oobe">
<template>
<style include="multidevice-setup-shared">
multidevice-setup {
--multidevice-setup-height: 640px;
--multidevice-setup-width: 768px;
}
#backward-button,
#cancel-button,
#forward-button {
......
......@@ -20,14 +20,15 @@
box-sizing: border-box;
color: var(--google-grey-700);
font-size: 13px;
height: 640px;
height: var(--multidevice-setup-height, 640px);
line-height: 16px;
margin: auto;
padding: 60px 32px 32px 32px;
width: 768px;
width: var(--multidevice-setup-width, 768px);
}
iron-pages {
overflow: auto;
padding: 0 32px;
}
</style>
......
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