Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit a2c1944

Browse files
committed
fix($components): SimplePagination missed styles
1 parent fc203a3 commit a2c1944

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed
Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
<template>
2-
<div id="pagination">
2+
<div class="pagination simple-pagination">
33
<router-link v-if="$pagination.hasPrev" :to="$pagination.prevLink">Prev</router-link>
44
<router-link v-if="$pagination.hasNext" :to="$pagination.nextLink">Next</router-link>
55
</div>
66
</template>
7+
8+
<style lang="stylus">
9+
.simple-pagination
10+
a
11+
margin-right: 20px
12+
color: #000
13+
height: 38px
14+
line-height: 38px
15+
transition: all .3s ease
16+
position: relative
17+
overflow: hidden
18+
display: inline-block
19+
background #FFF
20+
padding: 0 15px
21+
text-decoration: none
22+
border 1px solid #000
23+
border-radius 5px
24+
transition all .5s
25+
&:hover
26+
color #FFF
27+
border 1px solid $accentColor
28+
background-color $accentColor
29+
</style>

0 commit comments

Comments
 (0)