Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
0adb4571
Commit
0adb4571
authored
Oct 29, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing favorites pagination when using table ranking layout
parent
74b1d711
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
qa-theme-base.php
qa-include/qa-theme-base.php
+7
-7
qa-styles.css
qa-theme/SnowFlat/qa-styles.css
+10
-3
No files found.
qa-include/qa-theme-base.php
View file @
0adb4571
...
...
@@ -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
);
...
...
qa-theme/SnowFlat/qa-styles.css
View file @
0adb4571
...
...
@@ -1057,7 +1057,7 @@ h1 a:hover, h1 a:focus, h1 a:visited {
background-position
:
center
bottom
;
}
/*------[ q
a 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
:
5
px
;
margin-bottom
:
10
px
;
background
:
#fff
;
}
.qa-part-ranking-users
h2
,
.qa-part-ranking-tags
h2
,
.qa-part-nav-list-categories
h2
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment