Commit 2a340b4c authored by Joshua Bell's avatar Joshua Bell Committed by Commit Bot

Allow filenames to be selectable in file:/// directory listings

Regular file names (but not folder names, or metadata) were marked
"draggable", which implcitly made them non-user-selectable.

Explicitly mark them with "user-select: auto".

Bug: 1083760
Change-Id: Ide7a7153c0dcd9331dea33323eeac36599bb7757
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2268298
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: default avatarDavid Benjamin <davidben@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783107}
parent 2a9b3463
...@@ -170,6 +170,7 @@ window.addEventListener('DOMContentLoaded', onLoad); ...@@ -170,6 +170,7 @@ window.addEventListener('DOMContentLoaded', onLoad);
a.icon { a.icon {
-webkit-padding-start: 1.5em; -webkit-padding-start: 1.5em;
text-decoration: none; text-decoration: none;
user-select: auto;
} }
a.icon:hover { a.icon:hover {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment