Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3172)

Unified Diff: chrome/browser/resources/chromeos/login/oobe_buttons.html

Issue 2501593002: ChromeOS OOBE: Fix keyboard focusing of OOBE buttons. (Closed)
Patch Set: Rebased. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_text_button.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/oobe_buttons.html
diff --git a/chrome/browser/resources/chromeos/login/oobe_buttons.html b/chrome/browser/resources/chromeos/login/oobe_buttons.html
index c0d280a045b5885bdd424b388832d743e78b2dda..1aff56f63924eeb187f8aaab42cc08b7d2042545 100644
--- a/chrome/browser/resources/chromeos/login/oobe_buttons.html
+++ b/chrome/browser/resources/chromeos/login/oobe_buttons.html
@@ -39,7 +39,10 @@
<template>
<paper-button id="textButton" on-tap="onClick_" disabled="[[disabled]]"
inverse$="[[inverse]]">
- <content></content>
+ <div id="container"
+ class="flex layout horizontal center center-justified self-stretch">
+ <content></content>
+ </div>
</paper-button>
</template>
</dom-module>
@@ -82,10 +85,14 @@
<dom-module id="oobe-welcome-secondary-button">
<link rel="stylesheet" href="oobe_welcome_secondary_button.css">
<template>
- <paper-button id="container" class="layout horizontal center"
- aria-label="[[ariaLabel]]">
- <iron-icon icon="[[icon]]" class="oobe-icon"></iron-icon>
- <content></content>
+ <paper-button id="button" aria-label="[[ariaLabel]]">
+ <div id="container" class="flex layout vertical center self-stretch">
+ <div id="subcontainer"
+ class="flex layout horizontal center self-stretch">
+ <iron-icon icon="[[icon]]" class="oobe-icon"></iron-icon>
+ <content></content>
+ </div>
+ </div>
</paper-button>
</template>
</dom-module>
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_text_button.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698