More embed options available

This commit is contained in:
2024-02-10 01:53:57 +08:00
parent c7d250d201
commit a223c85ed1
3 changed files with 81 additions and 66 deletions

View File

@@ -35,7 +35,7 @@ export default function RootLayout(props: any) {
}
const mainContentStyles = createMemo(() => {
if (!searchParams["noTitle"]) {
if (!searchParams["embedded"]) {
return "h-[calc(100vh-64px)] mt-[64px]";
} else {
return "h-[100vh]";
@@ -50,7 +50,7 @@ export default function RootLayout(props: any) {
</div>
</div>
}>
<Show when={!searchParams["noTitle"]}>
<Show when={!searchParams["embedded"]}>
<Navbar />
</Show>