summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-05-23 19:41:21 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-05-24 00:11:27 +0200
commit7e9f0e4beb727b44ec327ffc299b20a2bcf4038a (patch)
treea2f98ceb28a601ca20170c211bcb0007283f5210
parent9edf81955c82b34bedaa0f95a8ee021e60b51ed3 (diff)
upload_history: improve display with small width
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/upload_history.php2
-rw-r--r--data/css/style.css6
2 files changed, 7 insertions, 1 deletions
diff --git a/application/views/file/upload_history.php b/application/views/file/upload_history.php
index 7dc7d28cc..8e030d360 100644
--- a/application/views/file/upload_history.php
+++ b/application/views/file/upload_history.php
@@ -16,7 +16,7 @@
<tr>
<td><input type="checkbox" name="ids[<?php echo $item["id"] ?>]" value="<?php echo $item["id"] ?>" class="delete-history"></td>
<td><a href="<?php echo site_url("/".$item["id"]) ?>/"><?php echo $item["id"] ?></a></td>
- <td><?php echo htmlspecialchars($item["filename"]); ?></td>
+ <td class="wrap"><?php echo htmlspecialchars($item["filename"]); ?></td>
<td><?php echo $item["mimetype"] ?></td>
<td class="nowrap"><?php echo date("r", $item["date"]); ?><span class="hidden">t=<?php echo $item["date"]; ?></span></td>
<td><?php echo $item["filesize"] ?></td>
diff --git a/data/css/style.css b/data/css/style.css
index 1808836d8..010bce212 100644
--- a/data/css/style.css
+++ b/data/css/style.css
@@ -52,6 +52,11 @@ body {
white-space: nowrap;
}
+.wrap {
+ word-break: break-word;
+ word-wrap: normal;
+}
+
code, pre, textarea {
font-family: "Dejavu sans mono", Monaco, monospace;
}
@@ -289,6 +294,7 @@ code, pre, textarea {
/* tables */
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
background-color: #e6EEEE;
+ padding-right: 20px;
}
table.tablesorter thead tr .header {
background-image: url(../img/bg.gif);