Skip to content

Commit 82b4c73

Browse files
author
Nathan Reyes
committed
Use svg icons for left and right year group arrows in navigation pane. Closes #69.
1 parent 9b9a014 commit 82b4c73

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#0.6.3
2+
## Bug Fixes
3+
Use svg icons for left and right year group arrows in navigation pane. Closes #69.
4+
15
#v0.6.2
26
## Bug Fixes
37
`v-calendar`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v-calendar",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"description": "A clean and extendable plugin for building simple attributed calendars in Vue.js.",
55
"keywords": [
66
"vue",

src/components/CalendarNav.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,25 @@
6262
v-if='mode_ === "year"'>
6363
<div class='c-header'>
6464
<!--Previous year group button-->
65-
<span
66-
class='c-arrow vc-angle-left'
65+
<svg-icon
66+
:glyph='angleLeft'
67+
class='c-arrow'
6768
:class='{ "c-disabled": !canMovePrevYearGroup }'
6869
@click='yearGroupIndex--'>
69-
</span>
70+
</svg-icon>
7071
<!--Mode switch button-->
7172
<span
7273
class='c-title'
7374
@click='selectMode("month")'>
7475
{{ firstYear }} - {{ lastYear }}
7576
</span>
7677
<!--Next year group button-->
77-
<span
78-
class='c-arrow vc-angle-right'
78+
<svg-icon
79+
:glyph='angleRight'
80+
class='c-arrow'
7981
:class='{ "c-disabled": !canMoveNextYearGroup }'
8082
@click='yearGroupIndex++'>
81-
</span>
83+
</svg-icon>
8284
</div>
8385
<!--Years table-->
8486
<table class='c-table'>

0 commit comments

Comments
 (0)