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 { 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) => {
|
||||||
|
|
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue