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

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

Issue 1991943003: Make username and origin copy-able in the list of passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 4 years, 7 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 | no next file » | 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 679e77a3bff41b51a9973bb8c136f64039c72eab..e1cdbb56b9536a30af453fda3d489bb0c4275f2c 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
@@ -39,6 +39,10 @@
flex: 2;
}
+ .selectable {
+ -webkit-user-select: text;
+ }
+
/* TODO(hcarmona): Grow menu width by 64px if content is wider */
.menu-item {
-webkit-padding-start: 24px;
@@ -70,10 +74,12 @@
class="vertical-list list-section list-with-header">
<template>
<div class="list-item">
- <a id="originUrl" target="_blank" class="website-column list-link"
- href="[[item.linkUrl]]">[[item.loginPair.originUrl]]</a>
- <div id="username"
- class="username-column">[[item.loginPair.username]]</div>
+ <div class="website-column">
+ <a id="originUrl" target="_blank" class="list-link selectable"
+ href="[[item.linkUrl]]">[[item.loginPair.originUrl]]</a>
+ </div>
+ <div class="username-column selectable"
+ id="username">[[item.loginPair.username]]</div>
<div class="password-column">
<!-- Password type and disabled in order to match mock. -->
<input id="password" type="password" disabled
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698