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

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: Tune CSS better 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..46d61a1f3c9c2340913fca85da0fc7e4504b0f4e 100644
--- a/chrome/browser/resources/options/password_manager_list.css
+++ b/chrome/browser/resources/options/password_manager_list.css
@@ -71,3 +71,23 @@ 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;
+ direction: rtl;
vabr (Chromium) 2016/12/13 09:23:38 Not sure if this is reduntant, give the [dir='rtl'
Dan Beam 2016/12/14 07:45:33 it is, but it's probably fine to keep it here and
vabr (Chromium) 2016/12/14 08:06:03 Good idea about the note, I added it now.
+ 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