From 22da869fb8460daf4b36d2519e6de2ba4251827a Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Sat, 30 Sep 2017 00:03:18 +0200 Subject: Extend the clickable area of the file name to include the thumbnail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/files/css/files.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files/css/files.scss') 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; -- cgit v1.2.3