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

Unified Diff: chrome/browser/resources/options/password_manager_list.css

Issue 2567693002: Elide origins for passwords settings in CSS instead of JS (Closed)
Patch Set: Add a note about direction Created 4 years 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/options/password_manager_list.css
diff --git a/chrome/browser/resources/options/password_manager_list.css b/chrome/browser/resources/options/password_manager_list.css
index 43f7d607304d0efb3d9caaa7dc86871070b72a8a..5deae3558df4f5fb38b601426c0a9ff8c0394b83 100644
--- a/chrome/browser/resources/options/password_manager_list.css
+++ b/chrome/browser/resources/options/password_manager_list.css
@@ -71,3 +71,25 @@ input.inactive-item {
overflow: hidden;
text-overflow: ellipsis;
}
+
+html[dir='ltr'] #saved-passwords-list .url,
+html[dir='ltr'] #password-exceptions-list .url {
+ -webkit-margin-end: 1em;
+ -webkit-margin-start: 0;
+ -webkit-padding-end: 2em;
+ -webkit-padding-start: 1em;
+ direction: rtl;
+ text-align: left;
+}
+
+html[dir='rtl'] #saved-passwords-list .url,
+html[dir='rtl'] #password-exceptions-list .url {
+ -webkit-margin-end: 0;
+ -webkit-margin-start: 1em;
+ -webkit-padding-end: 1em;
+ -webkit-padding-start: 2em;
+ /* Explicitly mention the direction, which, while the same, is independent of
+ * the surrounding text the for URLs. */
+ direction: rtl;
+ text-align: right;
+}
« no previous file with comments | « chrome/browser/resources/options/password_manager.js ('k') | chrome/browser/resources/options/password_manager_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698