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

Unified Diff: chrome/browser/resources/md_history/app.vulcanized.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: Use webkit-margin-start 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_history/app.vulcanized.html
diff --git a/chrome/browser/resources/md_history/app.vulcanized.html b/chrome/browser/resources/md_history/app.vulcanized.html
index 425ccb7dbf9be2a2959e50125a8c28d1734f72ac..862f1c5f08ba0c403411f5094c9ae7f55834b0a1 100644
--- a/chrome/browser/resources/md_history/app.vulcanized.html
+++ b/chrome/browser/resources/md_history/app.vulcanized.html
@@ -2350,17 +2350,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
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)]]">

Powered by Google App Engine
This is Rietveld 408576698