Chromium Code Reviews| Index: chrome/browser/resources/md_history/history_toolbar.html |
| diff --git a/chrome/browser/resources/md_history/history_toolbar.html b/chrome/browser/resources/md_history/history_toolbar.html |
| index 749ce86058c20b5802c86f948058d33968cb989f..6d770a21f4ff98e7a909c270ca2fe4af9ed0111a 100644 |
| --- a/chrome/browser/resources/md_history/history_toolbar.html |
| +++ b/chrome/browser/resources/md_history/history_toolbar.html |
| @@ -37,6 +37,18 @@ |
| height: var(--toolbar-height); |
| } |
| + cr-toolbar { |
| + --cr-toolbar-field-margin: var(--side-bar-width); |
| + } |
| + |
| + cr-toolbar[show-menu] { |
| + --cr-toolbar-field-margin: 0; |
|
tsergeant
2016/07/29 01:39:52
I had to change how this property was applied. See
|
| + } |
| + |
| + :host(:not([has-drawer])) #overlay-wrapper { |
| + -webkit-margin-start: var(--side-bar-width); |
| + } |
| + |
| #overlay-buttons { |
| margin: 0 auto; |
| max-width: var(--card-max-width); |
| @@ -118,6 +130,7 @@ |
| <cr-toolbar id="main-toolbar" page-name="$i18n{title}" |
| clear-label="$i18n{clearSearch}" search-prompt="$i18n{searchPrompt}" |
| hidden$="[[itemsSelected_]]" spinner-active="[[spinnerActive]]" |
| + show-menu="[[hasDrawer]]" |
| on-search-changed="onSearchChanged_"> |
| </cr-toolbar> |
| <div id="overlay-wrapper" hidden$="[[!itemsSelected_]]"> |