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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2275453002: MD WebUI: Fix misaligned spinner in narrow-mode cr-toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fd403a039a9f24f95038c96a33b3ed123e56bdbd..3af07c0da2a718af9190b8eb93f175b3ca3d8135 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
@@ -112,11 +112,15 @@
* opening/closing. -webkit-margin-start is not animatable, so we have to
* use regular margin-left/right instead.
*/
- :host-context([dir=ltr]):host([narrow][showing-search]) #icon {
+ :host-context([dir=ltr]):host([narrow][showing-search]) #icon,
+ :host-context([dir=ltr]):host([narrow][showing-search]) paper-spinner-lite
+ {
Dan Beam 2016/08/23 23:16:05 wrap it
tsergeant 2016/08/23 23:22:19 Do you mean like: :host-context([dir=ltr]):host([
Dan Beam 2016/08/23 23:36:43 quit horsin' around[1], and just use -webkit-margi
tsergeant 2016/08/23 23:51:32 [grasping at straws] is that Character Actress Ma
margin-left: 18px;
}
- :host-context([dir=rtl]):host([narrow][showing-search]) #icon {
+ :host-context([dir=rtl]):host([narrow][showing-search]) #icon,
+ :host-context([dir=rtl]):host([narrow][showing-search]) paper-spinner-lite
+ {
margin-right: 18px;
}
</style>
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698