Permalink
Browse files

Added style case for comments pagination treatment (pagination as las…

…t child of non-table group). A couple of optimization tweaks.
  • Loading branch information...
1 parent 7846fc7 commit 7451816d1eb5e73febc65d8bba41d575db58a909 Gordon Brander committed Jun 30, 2010
Showing with 12 additions and 4 deletions.
  1. +2 −2 comments/comments-default.php
  2. +9 −1 css/advanced.css
  3. +1 −1 single/single-default.php
@@ -40,10 +40,10 @@
// If there are multiple comment pages, and pagination is on.
if (get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) {
?>
- <div class="pagination">
+ <p class="pagination">
<span class="next"><?php previous_comments_link( __( 'Older Comments', 'carrington-mobile' ) ); ?></span>
<span class="prev"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'carrington-mobile' ) ); ?></span>
- </div> <!-- .navigation -->
+ </p>
<?php
}
}
View
@@ -149,12 +149,20 @@ ul.table li .title {
#navigation-top {
display:none;
}
+
+.pagination {
+ margin:0 10px;
+}
+.group:not(.table) .pagination:last-child {
+ background: transparent;
+ border-width: 1px 0 0;
+ margin: 0 -10px -10px;
+}
.pagination {
background:#fff;
border:1px solid #ccc;
border-width:0 1px 1px;
clear:both;
- margin:0 10px;
overflow:hidden;
}
.pagination span {
@@ -21,7 +21,7 @@
get_header();
?>
-<p id="next-prev-top" class="pagination"><?php cfct_misc('nav-single'); ?></p>
+<p class="pagination"><?php cfct_misc('nav-single'); ?></p>
<div id="content" class="group">
<?php

0 comments on commit 7451816

Please sign in to comment.