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

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2830993002: [MD settings] Prevent distortion of icons in cramped UI (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 23f175b0981562ce8d84f33be2e330971d3fb099..0db7f2db557a0a30fcdde8f7801969c87e48b8b4 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -32,6 +32,10 @@
padding-top: 24px;
}
+ iron-icon {
+ flex-shrink: 0; /* Prevent distortion of icons in cramped UI. */
hcarmona 2017/04/20 00:48:03 Are icons allowed to grow? should this just be fle
dschuyler 2017/04/20 01:24:56 Using flex: 0; causes the icon to disappear. flex
hcarmona 2017/04/20 01:38:26 Acknowledged.
+ }
+
iron-icon[icon='cr:check'],
iron-icon[icon='settings:done'] {
--iron-icon-fill-color: var(--google-green-500);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698