| 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;
|
| +}
|
|
|