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

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

Issue 1826533003: Revert of [Password Manager] Changes implementation of left elided origin on chrome://settings/passwords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 53ec9268ed78f6a07a6fce429c5a0acbef176459..1673233d21c923c8042198c007ae4ee259491392 100644
--- a/chrome/browser/resources/options/password_manager_list.css
+++ b/chrome/browser/resources/options/password_manager_list.css
@@ -42,7 +42,6 @@
width: 30%;
}
-#saved-passwords-list .url,
#saved-passwords-list .name {
-webkit-user-select: text;
}
@@ -71,3 +70,22 @@
overflow: hidden;
text-overflow: ellipsis;
}
+
+/* To elide URLs from the left, sets unicode-bidi=bidi-override and
+ * direction=rtl. */
+.left-elided-url {
+ direction: rtl;
+ unicode-bidi: bidi-override;
+}
+
+/* RTL direction in left-elided-url changes text-align to right, but URLs for
+ * left-to-right locales should still be left aligned.
+ * Since the direction is changed to RTL, the icon is at the end (i.e. left),
+ * but not at the start. So, swaps start and end margin/padding. */
+html[dir='ltr'] .left-elided-url {
+ -webkit-margin-end: 7px;
+ -webkit-margin-start: 0;
+ -webkit-padding-end: 26px;
+ -webkit-padding-start: 3px;
+ text-align: left;
+}
« 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