[aur-dev] [PATCH] Avoid overflow in updates table
Fixes FS#40206. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> --- web/html/css/aur.css | 19 +++++++++++++++++++ web/template/stats/updates_table.php | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/web/html/css/aur.css b/web/html/css/aur.css index bed39e8..78fd4ce 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 11f0a00..83e2103 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> -- 1.9.3
participants (1)
-
Lukas Fleischer