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

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2389123003: [MD settings] mirror subpage back arrow in rtl (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 545e4f0f1e5e1ca2f001df798d06b57e671ccba3..65939c12ac805c4800df4892e236d50c9679f5c9 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -28,6 +28,10 @@
background-image: url(images/open_in_new.svg);
}
+ :host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] {
+ transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
+ }
+
/* Use <h2> as the "sub-header" mentioned in the UX design docs. */
h2 {
align-items: center;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698