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

Unified Diff: ui/login/account_picker/user_pod_row.css

Issue 2326833002: Submit button incompatiable with desktop chrome. (Closed)
Patch Set: Created 4 years, 3 months 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
Index: ui/login/account_picker/user_pod_row.css
diff --git a/ui/login/account_picker/user_pod_row.css b/ui/login/account_picker/user_pod_row.css
index a9d964a3335d0f5a6a184d433982a64ce6706131..d7111a78e8f3d3d9328e347b643ce106cd25a464 100644
--- a/ui/login/account_picker/user_pod_row.css
+++ b/ui/login/account_picker/user_pod_row.css
@@ -161,7 +161,15 @@ html[dir=rtl] .main-pane {
display: flex;
position: absolute;
top: 160px;
+<if expr="not chromeos">
+ width: 160px;
+</if>
jdufault 2016/09/08 22:28:59 Is there an if/else construct available?
xiyuan 2016/09/08 22:36:29 I don't think grit support an "else". :( But pleas
sammiequon 2016/09/09 16:06:35 Done.
+/* On chromeos we extend the width to cover the padding on the user pods. This
+ is so the submit button on chromeos can extend onto the padding as shown on
+ mocks. */
+<if expr="chromeos">
width: 170px;
+</if>
}
.auth-container .submit-button[disabled] {
@@ -249,9 +257,11 @@ html[dir=rtl] .main-pane {
.capslock-on .capslock-hint-container {
display: block;
flex: none;
+<if expr="chromeos">
height: 43px;
position: relative;
width: 20px;
+</if>
}
.capslock-hint {
« no previous file with comments | « no previous file | ui/login/account_picker/user_pod_row.js » ('j') | ui/login/account_picker/user_pod_template.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698