Skip to content

Commit efc0401

Browse files
authored
Merge pull request theme-next#509 from theme-next/dev
Refactored post navigation styles.
2 parents 7d20d50 + f2b0e7d commit efc0401

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

source/css/_common/components/post/post-nav.styl

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,19 @@
3333
}
3434

3535
.fa {
36-
position: absolute;
37-
top: 8px;
38-
left: 0;
3936
font-size: 12px;
37+
margin-right: 5px;
4038
}
41-
4239
}
4340

4441
.post-nav-next {
45-
a { padding-left: 15px; }
42+
a { padding-left: 5px; }
4643
}
4744

4845
.post-nav-prev {
4946
text-align: right;
5047

51-
a { padding-right: 15px; }
48+
a { padding-right: 5px; }
5249

53-
.fa {
54-
right: 0;
55-
left: auto;
56-
}
50+
.fa { margin-left: 5px; }
5751
}

0 commit comments

Comments
 (0)