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>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody :key="currentPage">
|
||||
<tr
|
||||
v-for="entry in pagedData"
|
||||
:key="entry.index"
|
||||
@@ -186,6 +186,19 @@ watch(pageCount, (count) => {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.table tbody {
|
||||
animation: table-page-fade 0.18s ease;
|
||||
}
|
||||
|
||||
@keyframes table-page-fade {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
Reference in new issue
Block a user