Browse Source

! And some more - most notably making the bar on the memberlist to signify post count actually show up.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
fc6acdf7d6

+ 1 - 1
Themes/default/GenericList.template.php

@@ -72,7 +72,7 @@ function template_show_list($list_id = null)
 	}
 
 	echo '
-			<table class="table_grid" cellspacing="0" width="', !empty($cur_list['width']) ? $cur_list['width'] : '100%', '">';
+			<table class="table_grid" cellspacing="0"', !empty($cur_list['width']) ? ' style="width:' . $cur_list['width'] . '"' : '', '>';
 
 	// Show the column headers.
 	$header_count = count($cur_list['headers']);

+ 2 - 2
Themes/default/Memberlist.template.php

@@ -108,8 +108,8 @@ function template_main()
 		if (!isset($context['disabled_fields']['posts']))
 		{
 			echo '
-					<td style="white-space: nowrap" width="15">', $member['posts'], '</td>
-					<td class="statsbar" width="120">';
+					<td style="white-space: nowrap; width: 15px">', $member['posts'], '</td>
+					<td class="statsbar" style="width: 120px">';
 
 			if (!empty($member['post_percent']))
 				echo '

+ 0 - 1
Themes/default/css/index.css

@@ -4375,7 +4375,6 @@ tr.catbg th:last-child {
 
 /* Subtle zebra striping to make tables easier to follow. Will make a solution for IE8. */
 /* CSS for locked, sticky, etc has not been applied yet. Don't panic. She'll be right, mate. :P */
-.table_grid td.statsbar div{display: none;}
 .table_grid tr td:first-child, .table_grid td.icon2 {
 	border-left: 1px solid #ccc;
 }