Fade between table pages
This commit is contained in:
1 parent
70ef737f19
commit
00b482e62a
1 file changed
+14
-1
+14
-1
@@ -87,7 +87,7 @@ watch(pageCount, (count) => {
|
|||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody :key="currentPage">
|
||||||
<tr
|
<tr
|
||||||
v-for="entry in pagedData"
|
v-for="entry in pagedData"
|
||||||
:key="entry.index"
|
:key="entry.index"
|
||||||
@@ -186,6 +186,19 @@ watch(pageCount, (count) => {
|
|||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table tbody {
|
||||||
|
animation: table-page-fade 0.18s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes table-page-fade {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
Reference in new issue
Block a user