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

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

Issue 396193002: Fix avatar image size in user pods on desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added TODO. Created 6 years, 5 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
« no previous file with comments | « chrome/browser/resources/user_manager/user_manager.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1a9c261159fbe96fbf372283f30feb85154f750..d304c314ddcedcae947303b44700d207d72076ba 100644
--- a/ui/login/account_picker/user_pod_row.css
+++ b/ui/login/account_picker/user_pod_row.css
@@ -83,12 +83,17 @@ html[dir=rtl] .user-image-pane {
.pod .user-image {
flex: none;
+}
+
+/* TODO(noms): Refactor this out into a CrOS-specific file and simplify the
+ style rule once it is included on CrOS only. crbug.com/397638 */
+html:not([screen=login-add-user]) .pod .user-image {
max-height: 160px;
max-width: 160px;
opacity: 0.7;
}
-.pod.focused .user-image {
+html:not([screen=login-add-user]) .pod.focused .user-image {
opacity: 1;
}
« no previous file with comments | « chrome/browser/resources/user_manager/user_manager.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698