Skip to content

Commit

Permalink
reference aside styling
Browse files Browse the repository at this point in the history
  • Loading branch information
chdeskur committed Mar 5, 2025
1 parent 54e17ab commit 46c4e1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ReferenceLayout = React.forwardRef<
<AsideAwareDiv className="pl-page-padding mx-auto min-w-0 shrink pr-[calc(var(--page-padding)+var(--aside-offset))]">
<SetLayout value="reference" />
<slot.In>
<aside className="order-last flex max-h-[calc(100svh-var(--header-height)-6rem)] shrink-0 md:sticky md:top-[calc(var(--header-height)+1.5rem)] md:h-fit md:max-h-[calc(100vh-var(--header-height)-3rem)]">
<aside className="order-last flex max-h-[calc(100svh-var(--header-height)-6rem)] shrink-0 flex-col md:sticky md:top-[calc(var(--header-height)+1.5rem)] md:h-fit md:max-h-[calc(100vh-var(--header-height)-3rem)]">
{aside}
</aside>
</slot.In>
Expand Down

0 comments on commit 46c4e1f

Please sign in to comment.