Skip to content

Commit

Permalink
link styling
Browse files Browse the repository at this point in the history
  • Loading branch information
wbbaker committed Oct 8, 2024
1 parent f8fc507 commit d3ec1f8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,31 @@
<router-link
v-if="showFirst"
:to="{ name: 'otus-id', params: { id: otuId } }"
class="text-primary-500 ml-2"
class="hover:text-gray-900 text-secondary-color ml-2"
v-html="'<<'"
@click="page = 1"
/>
<span v-if="!showFirst" v-html="'<<'" class="ml-2"/>
<router-link
v-if="showPrev"
:to="{ name: 'otus-id', params: { id: otuId } }"
class="text-primary-500 ml-2"
class="hover:text-gray-900 text-secondary-color ml-2"
v-html="'prev'"
@click="page--"
/>
<span v-if="!showPrev" class="ml-2">prev</span>
<router-link
v-if="showNext"
:to="{ name: 'otus-id', params: { id: otuId } }"
class="text-primary-500 ml-2"
class="hover:text-gray-900 text-secondary-color ml-2"
v-html="'next'"
@click="page++"
/>
<span v-if="!showNext" v-html="'next'" class="ml-2"/>
<router-link
v-if="showLast"
:to="{ name: 'otus-id', params: { id: otuId } }"
class="text-primary-500 ml-2"
class="hover:text-gray-900 text-secondary-color ml-2"
v-html="'>>'"
@click="page = Math.ceil(total / perPage)"
/>
Expand Down

0 comments on commit d3ec1f8

Please sign in to comment.