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

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: Elide through CSS 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..e09b952605e5daa3a3f52ded1621008e4a47a7f1 100644
--- a/chrome/browser/resources/options/password_manager_list.css
+++ b/chrome/browser/resources/options/password_manager_list.css
@@ -68,6 +68,16 @@ input.inactive-item {
#saved-passwords-list .name,
#saved-passwords-list .federation,
#password-exceptions-list .url {
+ direction: rtl;
overflow: hidden;
text-overflow: ellipsis;
}
+
+html[dir='ltr'] #saved-passwords-list .url,
+html[dir='ltr'] #password-exceptions-list .url {
+ -webkit-margin-end: 7px;
vabr (Chromium) 2016/12/10 23:39:43 These numbers seem a bit random. But I stole them
kolos1 2016/12/12 09:55:57 The links points to this CL.
vabr (Chromium) 2016/12/12 10:35:52 Thanks! The correct link should have been https://
+ -webkit-margin-start: 0;
+ -webkit-padding-end: 26px;
+ -webkit-padding-start: 3px;
+ text-align: left;
Dan Beam 2016/12/13 04:07:33 don't we have to set direction: ltr in the RTL cas
+}
« 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