From 7c004693f720eafd3013119bb290cbd5ccdbda60 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 19 Sep 2012 01:17:32 +0200 Subject: Wrap long lines in the "Recent Updates" sidebar * Sync the sidebar layout with archweb, use the "pkg-name" class to wrap long package names. * Move the "New!" logo to a separate column to make sure it isn't wrapped to a new line on its own. Signed-off-by: Lukas Fleischer --- web/html/css/aur.css | 4 ++++ web/template/stats/updates_table.php | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/web/html/css/aur.css b/web/html/css/aur.css index 741446e..de661fc 100644 --- a/web/html/css/aur.css +++ b/web/html/css/aur.css @@ -2,3 +2,7 @@ #lang_sub { float: right; } + +#pkg-updates td.pkg-new { + padding: 0 .5em; +} diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index e7ceec7..2220d6a 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -3,10 +3,13 @@ RSS Feed - getIterator() as $row): ?> + + getIterator() as $row): ?> - + - + +
+ "> + New! @@ -15,5 +18,6 @@
-- cgit v1.2.3-54-g00ecf