mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-19 06:43:02 +08:00
improve page navigation buttons
This commit is contained in:
parent
649a1598a0
commit
25dbaee83f
@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<nav class="page-navigation">
|
||||
<div class="page-navigation__previous">
|
||||
<btn-wrapper class="page-navigation">
|
||||
<btn
|
||||
type="secondary"
|
||||
icon="arrow-left"
|
||||
@ -10,8 +9,6 @@
|
||||
>
|
||||
{{ previousPage.title }}
|
||||
</btn>
|
||||
</div>
|
||||
<div class="page-navigation__next">
|
||||
<btn
|
||||
type="secondary"
|
||||
icon="arrow-right"
|
||||
@ -20,16 +17,17 @@
|
||||
>
|
||||
{{ nextPage.title }}
|
||||
</btn>
|
||||
</div>
|
||||
</nav>
|
||||
</btn-wrapper>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import linkGroups from '@/links.yaml'
|
||||
import BtnWrapper from '~/components/BtnWrapper'
|
||||
import Btn from '~/components/Btn'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
BtnWrapper,
|
||||
Btn,
|
||||
},
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
.page-navigation {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user