diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-05-22 16:01:16 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-05-22 16:01:16 +0200 |
commit | ea25f982dcdfa32fe03d76a6de757e74ab7fd244 (patch) | |
tree | 1acb5aed7646b6fcf6c5342b06f8cfa9ba240b70 /web | |
parent | 839bff3761cc9eb27010c6fe1e37cf4edcbf3f01 (diff) | |
download | aur-ea25f982dcdfa32fe03d76a6de757e74ab7fd244.tar.gz aur-ea25f982dcdfa32fe03d76a6de757e74ab7fd244.tar.xz |
Avoid overflow in updates table
Fixes FS#40206.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r-- | web/html/css/aur.css | 19 | ||||
-rw-r--r-- | web/template/stats/updates_table.php | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/web/html/css/aur.css b/web/html/css/aur.css index bed39e8a..78fd4ce8 100644 --- a/web/html/css/aur.css +++ b/web/html/css/aur.css @@ -42,3 +42,22 @@ list-style: none; padding: 0; } + +#pkg-updates table { + table-layout: fixed; + width:100%; +} + +#pkg-updates td.pkg-name { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +#pkg-updates td.pkg-new { + width: 16px; +} + +#pkg-updates td.pkg-date { + text-align:right; +} diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index 11f0a005..83e21037 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -14,7 +14,7 @@ <img src="images/new.png" alt="New!" /> <?php endif; ?> </td> - <td> + <td class="pkg-date"> <span><?= gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span> </td> </tr> |