Change side-by-side sections to sticky (#2445)

This commit is contained in:
Josh Collinsworth
2024-05-22 12:08:41 -05:00
committed by GitHub
parent cda9bdec6f
commit 8ef3e89a8c
14 changed files with 186 additions and 44 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export function CodeWindow(props: CodeWindowProps) {
return (
<div
{...props}
class={`rounded-lg bg-slate-700 overflow-hidden w-full max-w-full [&>*]:rounded-t-none ${
class={`-mx-4 sm:mx-0 w-[calc(100%+2rem)] sm:w-full sm:rounded-lg bg-slate-700 overflow-hidden sm:max-w-full [&>*]:rounded-t-none ${
props.class ?? ""
}`}
style={props.style}