[APPDB] index: Fix table width of the top-10s

André Hentschel nerv at dawncrow.de
Thu Nov 28 14:47:52 CST 2013


The tables look a bit broken when you have a high resolution, you can also see that when you zoom out of the index.php with firefox.
It turned out to be the best way to maximize the description column, so the tables look conform.
---
 index.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/index.php b/index.php
index 5e22008..5387cc3 100644
--- a/index.php
+++ b/index.php
@@ -96,7 +96,7 @@ if(!$_SESSION['current']->isLoggedIn())
   <div>
     <table class="platinum">
       <tr class="rowtitle">
-        <th>Application</th><th>Description</th><th>Screenshot</th>
+        <th>Application</th><th width="100%">Description</th><th>Screenshot</th>
       </tr>
       <?php
       outputTopXRowAppsFromRating('Platinum', 10);
@@ -116,7 +116,7 @@ if(!$_SESSION['current']->isLoggedIn())
   <div>
     <table class="gold">
       <tr class="rowtitle">
-        <th>Application</th><th>Description</th><th>Screenshot</th>
+        <th>Application</th><th width="100%">Description</th><th>Screenshot</th>
       </tr>
       <?php
       outputTopXRowAppsFromRating('Gold', 10);
@@ -136,7 +136,7 @@ if(!$_SESSION['current']->isLoggedIn())
   <div>
     <table class="silver">
       <tr class="rowtitle">
-        <th>Application</th><th>Description</th><th>Screenshot</th>
+        <th>Application</th><th width="100%">Description</th><th>Screenshot</th>
       </tr>
       <?php
       outputTopXRowAppsFromRating('Silver', 10);
-- 
1.8.1.2




More information about the wine-patches mailing list