Skip to content

Commit

Permalink
Pagination nav styling, part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mor10 committed Aug 11, 2017
1 parent d648f19 commit 6ad428f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 42 deletions.
3 changes: 1 addition & 2 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ function kuhn_get_the_archive_navigation( $end ) {
}

if ( $nav_link ) {
$navigation .= '<div class="nav-' . $end . '">' . $nav_link . '</div>';
$navigation = _navigation_markup( $navigation, 'posts-navigation', __( 'Posts navigation', 'Screen reader text for posts pagination areas.', 'kuhn' ) );
$navigation = _navigation_markup( $nav_link , 'posts-navigation', __( 'Posts navigation', 'Screen reader text for posts pagination areas.', 'kuhn' ) );
}

}
Expand Down
2 changes: 1 addition & 1 deletion sass/maps/style.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sass/navigation/_content-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
}

.comment-navigation,
.posts-navigation,
.post-navigation {

.nav-previous,
Expand All @@ -68,13 +67,15 @@
@media screen and (min-width: $query__medium) {

.posts-navigation {
display: flex;
width: 100%;
margin: 0;
padding: 0;
}

.nav-links {
display: flex;
width: 100%;
}
}
}
Expand Down
69 changes: 31 additions & 38 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ad428f

Please sign in to comment.