migrated embed

This commit is contained in:
tresabhi committed 2026-11-19 16:59:43 -06:00
1 parent 6ad21a19a7
commit ff051106e7
98 files changed
+1979 -1376

No files matched your search

@@ -15,11 +15,13 @@
display: flex;
flex-direction: column;
gap: var(--space-4);
box-sizing: border-box;
width: calc(100dvw - 2 * var(--space-4));
max-width: 40rem;
max-height: calc(100dvh - 2 * var(--space-4));
padding: var(--space-4);
overflow: hidden;
background-color: var(--gray-2);
@@ -45,17 +47,10 @@
display: flex;
flex-direction: column;
gap: var(--space-2);
padding: var(--space-4);
padding-bottom: 0;
}
.body {
--scroller-curtain-color: var(--gray-2);
flex: 1;
.content {
padding: var(--space-4);
}
}
@@ -11,19 +11,13 @@ function Header({ className, ...props }: ComponentProps<"div">) {
}
// Scrolls the content that follows the header
function Body({
className,
children,
...props
}: ComponentProps<typeof Scroller>) {
function Body({ className, ...props }: ComponentProps<typeof Scroller>) {
return (
<Scroller
orientation={ScrollerOrientation.Vertical}
className={classNames(styles.body, className)}
{...props}
>
<div className={styles.content}>{children}</div>
</Scroller>
/>
);
}