[ticket/11956] Fix member list page

PHPBB3-11956
This commit is contained in:
Vjacheslav Trushkin 2013-10-21 15:17:48 +03:00
parent b196c9e8ff
commit e660c1a554
2 changed files with 9 additions and 1 deletions

View file

@ -546,7 +546,7 @@ function insert_single_user(formId, user)
i, headersLength; i, headersLength;
// Find each header // Find each header
th.each(function() { th.each(function(column) {
var cell = $(this), var cell = $(this),
colspan = parseInt(cell.attr('colspan')), colspan = parseInt(cell.attr('colspan')),
dfn = cell.attr('data-dfn'), dfn = cell.attr('data-dfn'),
@ -558,6 +558,10 @@ function insert_single_user(formId, user)
headers.push(text); headers.push(text);
} }
totalHeaders ++; totalHeaders ++;
if (dfn && !column) {
$this.addClass('show-header');
}
}); });
headersLength = headers.length; headersLength = headers.length;

View file

@ -262,6 +262,10 @@ table.responsive.show-header thead, table.responsive.show-header th:first-child
text-align: left !important; text-align: left !important;
} }
table.responsive.show-header th:first-child span.rank-img {
display: none;
}
table.responsive tr { table.responsive tr {
margin: 2px 0; margin: 2px 0;
} }