Commit bea5d21b authored by Jason Lin's avatar Jason Lin Committed by Commit Bot

crostini: Tweak crostini installer UI

This is based on review from the UX designer.

Bug: 1016195
Change-Id: Ic48a9595b65a7b66fa21ae0f4e3d575906a275cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2053943
Auto-Submit: Jason Lin <lxj@google.com>
Reviewed-by: default avatarJoel Hockey <joelhockey@chromium.org>
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741318}
parent addd95a1
......@@ -69,12 +69,17 @@
}
#configure-message-title {
margin-bottom: 46px;
margin-bottom: 41px;
}
#username {
width: 264px;
}
a[href] {
color: var(--cr-link-color);
text-decoration: none;
}
</style>
<div id="main">
......@@ -148,4 +153,4 @@
[[getInstallButtonLabel_(state_)]]
</cr-button>
</div>
</div>
\ No newline at end of file
</div>
......@@ -204,7 +204,8 @@ Polymer({
onNextButtonClick_() {
assert(this.state_ === State.PROMPT);
this.state_ = State.CONFIGURE;
this.$.install.focus();
// Focus the username input and move the cursor to the end.
this.$.username.select(this.username_.length, this.username_.length);
},
/** @private */
......
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