Chromium Code Reviews| Index: ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css |
| diff --git a/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css b/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css |
| index ae3d114b11839f6bf9562c77fcdcfa43c473dab0..7050cf3247857cb6cbe8b82b8592d907f397896b 100644 |
| --- a/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css |
| +++ b/ui/webui/resources/cr_elements/v1_0/cr_button/cr_button.css |
| @@ -17,4 +17,14 @@ paper-button[toggles][active] { |
| paper-button { |
| margin: 0; |
| + --paper-button: { |
| + min-width: auto; |
| + }; |
| +} |
| + |
| +:host([lowercase]) paper-button { |
| + --paper-button: { |
| + min-width: auto; /* HACK(dbeam): mixins can't be redefined. */ |
|
michaelpg
2015/08/18 19:47:06
why is this a hack, and is it something you intend
Dan Beam
2015/08/18 19:51:12
paper-button {
margin: 0;
--paper-button: {
|
| + text-transform: none; |
| + }; |
| } |