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

Unified Diff: chrome/browser/resources/ntp_android/ntp_android.js

Issue 14095010: Fixed Android NTP bookmark directory line RTL UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/ntp_android/bookmarks.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp_android/ntp_android.js
diff --git a/chrome/browser/resources/ntp_android/ntp_android.js b/chrome/browser/resources/ntp_android/ntp_android.js
index 718bcb9e5a01f959225f68483858f0d5f40e6759..63c96c7bb1bcf967672eaa8825f709e474dea438 100644
--- a/chrome/browser/resources/ntp_android/ntp_android.js
+++ b/chrome/browser/resources/ntp_android/ntp_android.js
@@ -1330,7 +1330,8 @@ cr.define('ntp', function() {
// Set the position of the title.
if (titleWidth < containerWidth) {
- title.style.left = '0px';
+ // left-align on LTR and right-align on RTL.
+ title.style.left = '';
} else {
title.style.left = boundedScrollPosition + 'px';
}
« no previous file with comments | « chrome/browser/resources/ntp_android/bookmarks.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698