From 1a6cde7f1e4a4a8dc4600683bfc3a0d6e5662fc5 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Fri, 23 Jun 2006 04:11:50 +0000 Subject: [PATCH] Fix the application name column in the top 'X' lists to be 150px wide so each top 'X' list looks uniform --- apidb.css | 2 ++ include/util.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apidb.css b/apidb.css index a348527..ce15fcd 100644 --- a/apidb.css +++ b/apidb.css @@ -196,6 +196,8 @@ TD.yes { color: #00B100; font-style: italic; text-align: center } TD.no { color: #B10000; font-style: italic; text-align: center } TD.stub { color: #0000B1; font-style: italic; text-align: center } +/* width of the application column in the top 'X' lists on the main page */ +TD.app_name { width: 150px } /* Rating Number */ .rating { font-family: Helvetica, Arial; font-size: 6pt; color: #333333; } diff --git a/include/util.php b/include/util.php index ae0e956..0178e2d 100644 --- a/include/util.php +++ b/include/util.php @@ -269,9 +269,9 @@ function outputTopXRow($oRow) $img = get_screenshot_img(null, $oRow->versionId, false); // image, disable extra formatting echo ' - '.$oApp->sName.' '.$oVersion->sName.' - '.trim_description($oApp->sDescription).' -
'.$img.'
+ '.$oApp->sName.' '.$oVersion->sName.' + '.trim_description($oApp->sDescription).' +
'.$img.'
'; }