change embed page background

This commit is contained in:
Nate Kelley 2025-09-26 11:06:31 -06:00
parent aa6fbfd437
commit 7bbf1237cf
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
3 changed files with 9 additions and 4 deletions

View File

@ -15,6 +15,7 @@ import { useBusterNotifications } from '@/context/BusterNotifications';
import { useBuildLocation } from '@/context/Routes/useRouteBuilder'; import { useBuildLocation } from '@/context/Routes/useRouteBuilder';
import { cn } from '@/lib/classMerge'; import { cn } from '@/lib/classMerge';
import { createDayjsDate } from '@/lib/date'; import { createDayjsDate } from '@/lib/date';
import { timeout } from '@/lib/timeout';
import type { ShareMenuContentBodyProps } from './ShareMenuContentBody'; import type { ShareMenuContentBodyProps } from './ShareMenuContentBody';
export const ShareMenuContentPublish: React.FC<ShareMenuContentBodyProps> = React.memo( export const ShareMenuContentPublish: React.FC<ShareMenuContentBodyProps> = React.memo(
@ -73,6 +74,8 @@ export const ShareMenuContentPublish: React.FC<ShareMenuContentBodyProps> = Reac
} else { } else {
const _exhaustiveCheck: never = assetType; const _exhaustiveCheck: never = assetType;
} }
await timeout(100);
if (v) onCopyLink(true);
}; };
const onSetPasswordProtected = async (v: boolean) => { const onSetPasswordProtected = async (v: boolean) => {

View File

@ -36,8 +36,10 @@ function RouteComponent() {
} }
return ( return (
<AppAssetCheckLayout assetType={assetType}> <main className="h-full w-full bg-page-background overflow-y-auto">
<Outlet /> <AppAssetCheckLayout assetType={assetType}>
</AppAssetCheckLayout> <Outlet />
</AppAssetCheckLayout>
</main>
); );
} }

View File

@ -34,7 +34,7 @@ pre {
html, html,
body { body {
background-color: #f3f3f3; background-color: var(--color-background-secondary);
min-width: 800px; min-width: 800px;
/* // @media (prefers-color-scheme: dark) { /* // @media (prefers-color-scheme: dark) {
// background-color: #000000; // background-color: #000000;