mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
fix page navigation buttons
This commit is contained in:
parent
070040fcc1
commit
5a2c886380
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<btn-wrapper class="page-navigation">
|
||||
<btn
|
||||
class="page-navigation__previous"
|
||||
type="secondary"
|
||||
icon="arrow-left"
|
||||
icon-position="before"
|
||||
@ -10,6 +11,7 @@
|
||||
{{ previousPage.title }}
|
||||
</btn>
|
||||
<btn
|
||||
class="page-navigation__next"
|
||||
type="secondary"
|
||||
icon="arrow-right"
|
||||
:to="nextPage.redirect || nextPage.link"
|
||||
|
@ -1,3 +1,7 @@
|
||||
.page-navigation {
|
||||
justify-content: space-between;
|
||||
|
||||
&__next:only-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user