mirror of https://github.com/buster-so/buster.git
change embed page background
This commit is contained in:
parent
aa6fbfd437
commit
7bbf1237cf
|
@ -15,6 +15,7 @@ import { useBusterNotifications } from '@/context/BusterNotifications';
|
|||
import { useBuildLocation } from '@/context/Routes/useRouteBuilder';
|
||||
import { cn } from '@/lib/classMerge';
|
||||
import { createDayjsDate } from '@/lib/date';
|
||||
import { timeout } from '@/lib/timeout';
|
||||
import type { ShareMenuContentBodyProps } from './ShareMenuContentBody';
|
||||
|
||||
export const ShareMenuContentPublish: React.FC<ShareMenuContentBodyProps> = React.memo(
|
||||
|
@ -73,6 +74,8 @@ export const ShareMenuContentPublish: React.FC<ShareMenuContentBodyProps> = Reac
|
|||
} else {
|
||||
const _exhaustiveCheck: never = assetType;
|
||||
}
|
||||
await timeout(100);
|
||||
if (v) onCopyLink(true);
|
||||
};
|
||||
|
||||
const onSetPasswordProtected = async (v: boolean) => {
|
||||
|
|
|
@ -36,8 +36,10 @@ function RouteComponent() {
|
|||
}
|
||||
|
||||
return (
|
||||
<main className="h-full w-full bg-page-background overflow-y-auto">
|
||||
<AppAssetCheckLayout assetType={assetType}>
|
||||
<Outlet />
|
||||
</AppAssetCheckLayout>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ pre {
|
|||
|
||||
html,
|
||||
body {
|
||||
background-color: #f3f3f3;
|
||||
background-color: var(--color-background-secondary);
|
||||
min-width: 800px;
|
||||
/* // @media (prefers-color-scheme: dark) {
|
||||
// background-color: #000000;
|
||||
|
|
Loading…
Reference in New Issue