File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dashboard/src/components/nodes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ export default function NodesList() {
161161 < div className = "flex w-full flex-col items-start gap-2" >
162162 < div className = "w-full flex-1 space-y-4 pt-6" >
163163 < NodeFilters filters = { filters } onFilterChange = { handleFilterChange } refetch = { refetch } isFetching = { isFetching } />
164-
164+ < div className = "min-h-[55dvh]" >
165165 < div
166- className = "mb-12 grid transform-gpu animate-slide-up grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3"
166+ className = " grid transform-gpu animate-slide-up grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3"
167167 style = { { animationDuration : '500ms' , animationDelay : '100ms' , animationFillMode : 'both' } }
168168 >
169169 { showLoadingSpinner
@@ -214,8 +214,8 @@ export default function NodesList() {
214214 </ CardContent >
215215 </ Card >
216216 ) }
217-
218- { totalNodes > NODES_PER_PAGE && (
217+ </ div >
218+ { ! showLoadingSpinner && nodesData . length > 0 && totalNodes > NODES_PER_PAGE && (
219219 < NodePaginationControls
220220 currentPage = { currentPage }
221221 totalPages = { totalPages }
You can’t perform that action at this time.
0 commit comments