summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-16 12:05:05 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-16 12:05:05 +0100
commit2233aa2a049f0b0fcb3a8f24fe2957d926339a93 (patch)
tree65f8bfe280835fec33b427bae0ecef1926965d25
parentf975fd54996fd994f0fa9628d4eba42d92406792 (diff)
downloadnextcloud-server-2233aa2a049f0b0fcb3a8f24fe2957d926339a93.tar.gz
nextcloud-server-2233aa2a049f0b0fcb3a8f24fe2957d926339a93.zip
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.
-rw-r--r--apps/files/css/files.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 8edca4cd3c3..b93cc458dd3 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;
}