Chromium Code Reviews| 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 4ed24f9629e3dbc86f3e7b5a95424e35e6b72446..39f6b9ca5631a6ab5d17cac79c3378d3c04cbd21 100644 |
| --- a/chrome/browser/resources/settings/settings_shared_css.html |
| +++ b/chrome/browser/resources/settings/settings_shared_css.html |
| @@ -1,10 +1,11 @@ |
| <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| +<link rel="import" href="settings_icons_css.html"> |
| <link rel="import" href="settings_vars_css.html"> |
| <!-- Common styles for Material Design settings. --> |
| <dom-module id="settings-shared"> |
| <template> |
| - <style include="cr-shared-style"> |
| + <style include="settings-icons cr-shared-style"> |
| /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ |
| h2 { |
| align-items: center; |
| @@ -335,6 +336,17 @@ |
| outline: none; |
| } |
| + /* Prevent icon-button's ripples from fighting with potential scrollbars. |
| + * Also apply to all iron-lists to align the buttons across them all.*/ |
| + [scrollable], |
| + .scroll-container, |
| + iron-list { |
| + --cr-paper-icon-button-margin: { |
| + -webkit-margin-start: 0; |
| + -webkit-margin-end: 0; |
| + }; |
| + } |
|
dschuyler
2017/06/06 18:58:39
fyi, I'm working on a CL at https://codereview.chr
scottchen
2017/06/06 22:33:12
Acknowledged.
|
| + |
| /* Helper for a list frame to automatically avoid the separator line. */ |
| .vertical-list > *:not(:first-of-type) { |
| border-top: var(--settings-separator-line); |