feat: splash loader more central (#2707)

This commit is contained in:
Dexter Edwards 2023-01-24 14:02:43 +00:00 committed by GitHub
parent 165b131b27
commit 415b902f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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) => (

View File

@ -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