mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
[WEB-4625] fix: fixed loader position for pages #3858
This commit is contained in:
@@ -36,7 +36,12 @@ export const IntakeClientLayout = observer((props: Props) => {
|
||||
|
||||
if (error) return <SomethingWentWrongError />;
|
||||
|
||||
if (!publishSettings) return <LogoSpinner />;
|
||||
if (!publishSettings)
|
||||
return (
|
||||
<div className="flex h-screen w-full items-center justify-center">
|
||||
<LogoSpinner />
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="relative flex h-screen min-h-[500px] w-screen flex-col overflow-hidden">
|
||||
|
||||
@@ -26,7 +26,12 @@ export const PagesClientLayout = observer((props: Props) => {
|
||||
anchor ? () => fetchPublishSettings(anchor) : null
|
||||
);
|
||||
|
||||
if (!entity_identifier && !error) return <LogoSpinner />;
|
||||
if (!entity_identifier && !error)
|
||||
return (
|
||||
<div className="flex h-screen w-full items-center justify-center">
|
||||
<LogoSpinner />
|
||||
</div>
|
||||
);
|
||||
|
||||
if (error?.status === 404) return <PageNotFound />;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user