feat: splash loader more central (#2707)
This commit is contained in:
parent
165b131b27
commit
415b902f53
@ -21,7 +21,7 @@ export function TemplateSidebar({ children, sidebar }: TemplateSidebarProps) {
|
||||
) : (
|
||||
<div />
|
||||
)}
|
||||
<div className="w-full border-b border-neutral-700 lg:grid lg:grid-rows-[min-content_1fr] lg:grid-cols-[1fr_450px]">
|
||||
<div className="w-full border-b border-neutral-700 lg:grid lg:grid-rows-[1fr] lg:grid-cols-[1fr_450px]">
|
||||
<main className="col-start-1 p-4">{children}</main>
|
||||
<aside className="col-start-2 row-start-1 row-span-2 hidden lg:block p-4 bg-banner bg-contain border-l border-neutral-700">
|
||||
{sidebar.map((Component, i) => (
|
||||
|
@ -12,7 +12,7 @@ export const SplashLoader = ({ text = 'Loading' }: { text?: string }) => {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col items-center" data-testid="splash-loader">
|
||||
<div className="flex flex-wrap w-[50px] h-[50px] mb-20">
|
||||
<div className="flex flex-wrap w-[50px] h-[50px] mb-4">
|
||||
{new Array(25).fill(null).map((_, i) => {
|
||||
return (
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user