mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 13:00:39 +00:00
feat: add admin pagination styling to AdminPage component
This commit is contained in:
@@ -207,7 +207,7 @@ export default function AdminPage(props: AdminPageProps) {
|
|||||||
)}
|
)}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div className="actions">
|
<div className="actions admin-pagination">
|
||||||
<button type="button" className="btn btn-secondary small" disabled={safePage <= 1} onClick={() => setPage((p) => Math.max(1, p - 1))}>
|
<button type="button" className="btn btn-secondary small" disabled={safePage <= 1} onClick={() => setPage((p) => Math.max(1, p - 1))}>
|
||||||
<ChevronLeft size={14} className="btn-icon" />
|
<ChevronLeft size={14} className="btn-icon" />
|
||||||
{t('txt_prev')}
|
{t('txt_prev')}
|
||||||
|
|||||||
@@ -864,6 +864,10 @@
|
|||||||
color: #5f6f85;
|
color: #5f6f85;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.admin-pagination {
|
||||||
|
@apply mt-3 items-center;
|
||||||
|
}
|
||||||
|
|
||||||
.trusted-cell {
|
.trusted-cell {
|
||||||
@apply inline-flex items-center gap-1.5;
|
@apply inline-flex items-center gap-1.5;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user