From ea25f982dcdfa32fe03d76a6de757e74ab7fd244 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 22 May 2014 16:01:16 +0200 Subject: Avoid overflow in updates table Fixes FS#40206. Signed-off-by: Lukas Fleischer --- 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 @@ New! - + -- cgit v1.2.3-70-g09d2