summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-10-23 14:07:26 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-10-23 14:07:26 +0200
commit213c8cf7647a3ff8965ad5b61cf540b1d4391a53 (patch)
tree7efb547cdba3b762a71311781756f63632418fa9
parent23f7cb98b7014b9fe281289e93d3abdb7018022c (diff)
Prevent date wrapping on history page
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/upload_history.php2
-rw-r--r--data/css/style.css4
2 files changed, 5 insertions, 1 deletions
diff --git a/application/views/file/upload_history.php b/application/views/file/upload_history.php
index 2f09240a1..9696f6770 100644
--- a/application/views/file/upload_history.php
+++ b/application/views/file/upload_history.php
@@ -18,7 +18,7 @@
<td><a href="<?php echo site_url("/".$item["id"]) ?>/"><?php echo $item["id"] ?></a></td>
<td><?php echo htmlspecialchars($item["filename"]); ?></td>
<td><?php echo $item["mimetype"] ?></td>
- <td><?php echo $item["date"] ?></td>
+ <td class="nowrap"><?php echo $item["date"] ?></td>
<td><?php echo $item["hash"] ?></td>
<td><?php echo $item["filesize"] ?></td>
</tr>
diff --git a/data/css/style.css b/data/css/style.css
index 1be358794..9bfc48d5b 100644
--- a/data/css/style.css
+++ b/data/css/style.css
@@ -28,6 +28,10 @@ body {
}
+.nowrap {
+ white-space: nowrap;
+}
+
code, pre {
font-family: "Dejavu sans mono", Monaco, monospace;
}