diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-09-30 00:03:18 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-10-19 01:46:13 +0200 |
commit | 22da869fb8460daf4b36d2519e6de2ba4251827a (patch) | |
tree | 0c67623efc207241b72861bc72f063bc1cd9cc5d /apps/files | |
parent | f392e78d5b525abbb04057b91c0adfba212c00c4 (diff) | |
download | nextcloud-server-22da869fb8460daf4b36d2519e6de2ba4251827a.tar.gz nextcloud-server-22da869fb8460daf4b36d2519e6de2ba4251827a.zip |
Extend the clickable area of the file name to include the thumbnail
Now that the checkbox was moved to its own column clicking on the
thumbnail should behave like clicking on the file name. To achieve this
the left position was replaced with a padding, so the element is kept at
the same place while extending its clickable area to cover the
thumbnail.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/css/files.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 65519ae2e16..a11538fbfb2 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -337,13 +337,14 @@ table td.filename .nametext, .modified, .column-last>span:first-child { float:le /* TODO fix usability bug (accidental file/folder selection) */ table td.filename .nametext { position: absolute; - left: 55px; padding: 0; + padding-left: 55px; overflow: hidden; text-overflow: ellipsis; width: 70%; max-width: 800px; height: 100%; + z-index: 10; } table td.filename .uploadtext { position: absolute; |