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

Unified Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2284463002: MD Downloads: fix search spinner when terms are the same (Closed)
Patch Set: tsergeant@ review / test fix 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
Index: chrome/browser/resources/md_downloads/vulcanized.html
diff --git a/chrome/browser/resources/md_downloads/vulcanized.html b/chrome/browser/resources/md_downloads/vulcanized.html
index a16b2c99b0b14c2d26eae0677c4b9ba1c8a3ceb3..d03743a69f6a0a078cb461f49d70e3a0508d6b19 100644
--- a/chrome/browser/resources/md_downloads/vulcanized.html
+++ b/chrome/browser/resources/md_downloads/vulcanized.html
@@ -2854,17 +2854,10 @@ paper-button {
width: 100%;
}
- /*
- * Margin needs to be animated to prevent jumping around during
- * 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 {
- margin-left: 18px;
- }
-
- :host-context([dir=rtl]):host([narrow][showing-search]) #icon {
- margin-right: 18px;
+ :host-context([dir=ltr]):host([narrow][showing-search]) #icon,
+ :host-context([dir=ltr]):host([narrow][showing-search])
+ paper-spinner-lite {
+ -webkit-margin-start: 18px;
}
</style>
<paper-spinner-lite active="[[isSpinnerShown_(spinnerActive, showingSearch)]]">
« no previous file with comments | « chrome/browser/resources/md_downloads/toolbar.js ('k') | chrome/test/data/webui/md_downloads/toolbar_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698