Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html |
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html |
index b187aff2c54c004d65cf0a3fd7ad31eb878595c8..0c27761eca8c23b957d3e27ecf606df094fb4a56 100644 |
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html |
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html |
@@ -14,7 +14,8 @@ |
display: flex; |
height: 40px; |
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), |
- width 150ms cubic-bezier(0.4, 0, 0.2, 1); |
+ width 150ms cubic-bezier(0.4, 0, 0.2, 1), |
+ left 150ms cubic-bezier(0.4, 0, 0.2, 1); |
width: 44px; |
} |
@@ -25,6 +26,7 @@ |
paper-icon-button { |
height: 32px; |
margin: 6px; |
+ min-width: 32px; |
padding: 6px; |
width: 32px; |
} |
@@ -90,15 +92,12 @@ |
/* Any layout, search open. */ |
:host([showing-search]) { |
width: 100%; |
+ left: 0; |
} |
:host([showing-search][spinner-active]) #icon { |
opacity: 0; |
} |
- |
- :host([narrow][showing-search]) #icon { |
- -webkit-margin-start: 18px; |
- } |
</style> |
<paper-spinner-lite |
active="[[isSpinnerShown_(spinnerActive, showingSearch)]]"> |