From 4a5f3442b5cab84c5cadc65567f15e56b258cc20 Mon Sep 17 00:00:00 2001 From: raghunayyar <me@iraghu.com> Date: Wed, 2 Oct 2013 21:40:34 +0530 Subject: [PATCH] Closes Label inside the a tag for not hiding the fileactions. --- apps/files/css/files.css | 2 +- apps/files/templates/part.list.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 82b3024231..0269978374 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -228,7 +228,7 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; } -webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms; } -#fileList tr td.filename .name { +#fileList tr td.filename a.name label { position: absolute; width: 100%; height: 50px; diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php index ed3e3a2d94..4e37cfb379 100644 --- a/apps/files/templates/part.list.php +++ b/apps/files/templates/part.list.php @@ -31,7 +31,9 @@ $totalsize = 0; ?> <?php if($file['type'] == 'dir'): ?> <a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title=""> <?php else: ?> - <label class="name" title="" for="select-<?php p($file['fileid']); ?>"></label> + <a class="name"> + <label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label> + </a> <?php endif; ?> <span class="nametext"> <?php if($file['type'] == 'dir'):?> -- GitLab