Browse files

(Bug 4764) Additional styling for pagination box, moved pagination bo…

…x to match position on talkread
  • Loading branch information...
1 parent cd450bb commit 2b9a8e26dc1605efa8055638f4c43abe225bc539 @momijizukamori momijizukamori committed Mar 19, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 bin/upgrading/s2layers/siteviews/layout.s2
  2. +1 −1 htdocs/stc/entrypage.css
View
4 bin/upgrading/s2layers/siteviews/layout.s2
@@ -276,8 +276,8 @@ if ($p isa ReplyPage) {
}
function EntryPage::print_entry_footer(Entry e) {
"""<hr class="above-entry-interaction-links" />""";
+ $.comment_pages->print({ "anchor" => "comments", "class" => "comment-pages toppages comment-page-list" });
$e->print_interaction_links("topcomment");
- $.comment_pages->print({ "anchor" => "comments", "class" => "comment-pages toppages comment-page-list" });
}
function EntryPage::print_comment_section(Entry e) {
@@ -296,13 +296,13 @@ function EntryPage::print_comment_section(Entry e) {
$e->print_interaction_links("bottomcomment");
"</div>";
}
- $.comment_pages->print({ "anchor" => "comments", "class" => "comment-pages bottompages comment-page-list" });
if ($.comment_pages.total_subitems > 0) {
$.comment_nav->print({ "class" => "comment-pages bottompages" });
$this->print_reply_container({ "target" => "bottomcomment" });
$this->print_multiform_actionline();
$this->print_multiform_end();
}
+ $.comment_pages->print({ "anchor" => "comments", "class" => "comment-pages bottompages comment-page-list" });
"</div></div>";
}
View
2 htdocs/stc/entrypage.css
@@ -41,7 +41,7 @@ hr.above-entry-interaction-links, hr.below-entry-interaction-links {margin: 1em
.entry-interaction-links, .comment-pages {text-align: center; font-weight:bold; float:none;}
.entry-interaction-links li {display:inline;}
ul.entry-interaction-links {list-style: none outside none; display: inline; text-align: center; padding: 0.5em 0; margin:0;}
-.comment-page-list {max-width: 28em; margin-left:auto; margin-right: auto;}
+.comment-page-list {max-width: 28em; margin: 1em auto; padding: .5em;}
/* give talkread styling to management links without S2 overrides*/
.entry-interaction-links li:before, .comment-interaction-links li:before, .view-flat:before, .view-threaded:before, .view-top-only:before, .expand_all:before {content:"(";}

0 comments on commit 2b9a8e2

Please sign in to comment.