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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html

Issue 2651813002: MD Settings: fix focus outline getting cut off in manage password page (Closed)
Patch Set: update comment format Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/people_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
index f3073fbdae0fae0fab8f88335cf162b9ec334c0e..7c9cfe42be7de7e425fdf1993af3a0b90c3190b9 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html
@@ -24,17 +24,19 @@
width: 0;
}
- /* The following non-flex directives allow eliding long originUrls from
- * the left. Forcing rtl should not cause an issue for right-to-left
- * languages in this case, since valid URL characters are restricted to
- * ASCII. */
.website-column {
- direction: rtl;
+ display: flex;
flex: 3;
- overflow: hidden;
- text-align: left;
- text-overflow: ellipsis;
- white-space: nowrap;
+ }
+
+ #originUrl {
+ /* The following non-flex directives allow eliding long originUrls from
+ * the left. Forcing rtl should not cause an issue for right-to-left
+ * languages in this case, since valid URL characters are restricted to
+ * ASCII.
+ */
+ direction: rtl;
+ display: flex;
}
.username-column {
@@ -84,9 +86,13 @@
scroll-target="[[subpageScrollTarget]]">
<template>
<div class="list-item">
- <div class="website-column">
- <a id="originUrl" target="_blank" class="selectable"
- href="[[item.linkUrl]]">[[item.loginPair.originUrl]]</a>
+ <div class="website-column no-min-width">
+ <a id="originUrl" target="_blank" class="selectable no-min-width"
+ href="[[item.linkUrl]]">
+ <span class="text-elide">
+ [[item.loginPair.originUrl]]
+ </span>
+ </a>
</div>
<div class="username-column selectable"
id="username">[[item.loginPair.username]]</div>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/people_page/people_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698