From 2233aa2a049f0b0fcb3a8f24fe2957d926339a93 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Thu, 16 Jan 2014 12:05:05 +0100
Subject: [PATCH] Fixed files row height in Firefox/KDE

Firefox is using native checkboxes and in KDE the checkboxes have a
bigger height which caused the row height to increase and be misaligned
with the date column.

This fix makes the checkbox absolute to prevent it to influence the row
height.
---
 apps/files/css/files.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 8edca4cd3c..b93cc458dd 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -219,6 +219,11 @@ table td.filename form { font-size:14px; margin-left:48px; margin-right:48px; }
 	width: 50px;
 	z-index: 5;
 }
+#fileList tr td.filename>input[type="checkbox"]{
+	/* sometimes checkbox height is bigger (KDE/Qt), so setting to absolute
+	 * to prevent it to increase the height */
+	position: absolute;
+}
 #fileList tr td.filename>input[type="checkbox"] + label {
 	left: 0;
 }
-- 
GitLab