Commit 0adb4571 by Scott

Fix missing favorites pagination when using table ranking layout

parent 74b1d711
......@@ -1307,14 +1307,14 @@
if (!$this->ranking_block_layout) {
// old, less semantic table layout
$this->ranking_table($ranking, $class);
return;
}
// new block layout
foreach ($ranking['items'] as $item) {
$this->output('<span class="qa-ranking-item '.$class.'-item">');
$this->ranking_item($item, $class);
$this->output('</span>');
else {
// new block layout
foreach ($ranking['items'] as $item) {
$this->output('<span class="qa-ranking-item '.$class.'-item">');
$this->ranking_item($item, $class);
$this->output('</span>');
}
}
$this->part_footer($ranking);
......
......@@ -1057,7 +1057,7 @@ h1 a:hover, h1 a:focus, h1 a:visited {
background-position: center bottom;
}
/*------[ qa list parts ]------*/
/*------[ q-list ]------*/
.qa-q-list-item {
padding: 10px;
margin-bottom: 5px;
......@@ -2303,9 +2303,16 @@ input[type="submit"], button {
border-bottom: 0;
}
.qa-part-ranking-users, .qa-part-ranking-tags, .qa-part-nav-list-categories {
.qa-link-next {
margin-bottom: 0;
}
.qa-part-q-list .qa-link-next,
.qa-part-ranking-users,
.qa-part-ranking-tags,
.qa-part-nav-list-categories {
padding: 10px;
margin-bottom: 5px;
margin-bottom: 10px;
background: #fff;
}
.qa-part-ranking-users h2, .qa-part-ranking-tags h2, .qa-part-nav-list-categories h2 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment