Apply 'active-paginate' to Previous button (#35)

This has the effect of the cursor being shown when hovering over
the previous button.
This commit is contained in:
Jamie Mansfield 2020-11-19 10:41:54 +00:00 committed by GitHub
parent ac65357c8a
commit 2a0740e135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,10 @@
<template>
<div v-if="pages.length > 1" class="columns paginates">
<svg
:class="{ 'disabled-paginate': currentPage === 1 }"
:class="{
'disabled-paginate': currentPage === 1,
'active-paginate': currentPage !== 1,
}"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"