Skip to content

Commit

Permalink
fixed bug where pagination navigation was covered up
Browse files Browse the repository at this point in the history
  • Loading branch information
egladman committed Jan 24, 2016
1 parent 05446a4 commit 4df519f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
13 changes: 11 additions & 2 deletions _assets/css/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -488,14 +488,23 @@ a
.disabled
opacity: 0.5

.pagination-next::after
content: 'next'
position: absolute

.pagination-previous::before
content: 'fooo'
position: absolute

.pagination-text
font-size: 0.75em
margin: 0 1ch
color: $gray
font-weight: 400
position: absolute
width: 10ch
// position: absolute
height: 2em
bottom: 0
// bottom: 0
line-height: 2em
font-weight: 300
&:hover
Expand Down
5 changes: 4 additions & 1 deletion _includes/jade/pagination.jade
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
i.fa.fa-caret-left

{% else %}
span.previous
a.pagination-text.disabled(href='{{ site.baseurl }}{{ paginator.previous_page_path }}') previous
a.previous
i.fa.fa-caret-left.disabled
{% endif %}

Expand All @@ -22,4 +23,6 @@
{% else %}
span.next
i.fa.fa-caret-right.disabled

a.pagination-text.disabled(href='{{ site.baseurl }}{{ paginator.next_page_path }}') next
{% endif %}

0 comments on commit 4df519f

Please sign in to comment.