mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(web): root pending component placement (#1547)
* fix(web): center root pending component vertically * fix(web): set pending component for desktop to 30% height
This commit is contained in:
parent
9c8c4a9ab2
commit
7134e06379
1 changed files with 7 additions and 0 deletions
|
@ -336,6 +336,13 @@ export const RootRoute = createRootRouteWithContext<{
|
|||
}>()({
|
||||
component: RootComponent,
|
||||
notFoundComponent: NotFound,
|
||||
pendingComponent: () => (
|
||||
<div className="h-screen">
|
||||
<div className="flex flex-grow items-center justify-center h-screen sm:h-3/5">
|
||||
<RingResizeSpinner className="text-blue-500 size-24"/>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
});
|
||||
|
||||
const filterRouteTree = FiltersRoute.addChildren([FilterIndexRoute, FilterGetByIdRoute.addChildren([FilterGeneralRoute, FilterMoviesTvRoute, FilterMusicRoute, FilterAdvancedRoute, FilterExternalRoute, FilterActionsRoute])])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue