diff --git a/admin/hooks/manage-posts-columns.php b/admin/hooks/manage-posts-columns.php
index f3dcde88..4837c1bc 100644
--- a/admin/hooks/manage-posts-columns.php
+++ b/admin/hooks/manage-posts-columns.php
@@ -24,7 +24,10 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
edit_post_link( get_the_post_thumbnail( $post_id, 'sportspress-fit-icon' ), '', '', $post_id );
break;
case 'sp_number':
- echo '' . get_post_meta( $post_id, 'sp_number', true ) . '';
+ $number = get_post_meta( $post_id, 'sp_number', true );
+ if ( $number != null ):
+ echo '' . $number . '';
+ endif;
break;
case 'sp_views':
echo sportspress_get_post_views( $post_id );
diff --git a/assets/css/admin.css b/assets/css/admin.css
index 3873a7fa..a49b5ffa 100644
--- a/assets/css/admin.css
+++ b/assets/css/admin.css
@@ -76,7 +76,7 @@
content: "\f163";
}
-.widefat .column-sp_team strong {
+.fixed .column-sp_team strong {
background: #bbb;
color: #fff;
font-size: 11px;
@@ -90,10 +90,25 @@
border-radius: 2px;
}
+.fixed td.column-sp_format .dashicons:before {
+ color: #bbb;
+}
+
+.fixed .column-sp_format,
+.fixed .column-sp_icon,
+.fixed .column-sp_number {
+ width: 2.3em;
+ text-align: center;
+}
+
.fixed .column-sp_time {
width: 6%;
}
+.fixed .column-sp_league, .fixed .column-sp_season, .fixed .column-sp_venue, .fixed .column-sp_position, .fixed .column-sp_views {
+ width: 10%;
+}
+
#sportspress_dashboard_status .inside {
padding: 0;
margin: 0;
@@ -314,29 +329,6 @@ table.widefat.sp-league-table th input[type=checkbox] {
vertical-align: middle;
}
-table.widefat th.column-sp_format,
-table.widefat td.column-sp_format,
-table.widefat th.column-sp_icon,
-table.widefat td.column-sp_icon,
-table.widefat th.column-sp_number,
-table.widefat td.column-sp_number {
- width: 32px;
- text-align: center;
-}
-
-
-table.widefat th.column-sp_number,
-table.widefat td.column-sp_number {
- width: 32px;
-}
-
-table.widefat td.column-sp_number .sp-flag {
- height: auto;
- width: auto;
- max-height: 16px;
- max-width: 20px;
-}
-
table.widefat select.sp-outcome {
width: 150px;
}