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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item.html

Issue 2735233002: MD Settings Fix RTL for network list items (Closed)
Patch Set: Created 3 years, 9 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: ui/webui/resources/cr_elements/network/cr_network_list_item.html
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.html b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
index ab88ab1d17bea789fc4a35727c6a28103c40173a..52affb9aa67a4f577317f73266a09173e1b32180 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item.html
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.html
@@ -71,6 +71,10 @@
margin: -8px 0;
}
+ :host-context([dir=rtl]) #subpageDiv > button {
+ transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
+ }
+
iron-icon {
height: 24px;
width: 24px;
@@ -78,7 +82,7 @@
cr-network-icon,
iron-icon {
- -webkit-padding-end: 8px;
+ -webkit-margin-end: 8px;
}
cr-policy-network-indicator {
« 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