Browse Source

[Beta] Fix sticky sandboxes

main
Dan Abramov 2 years ago
parent
commit
acc8dcf9a3
  1. 1
      beta/src/components/MDX/Sandpack/SandpackRoot.tsx
  2. 1
      beta/src/styles/sandpack.css

1
beta/src/components/MDX/Sandpack/SandpackRoot.tsx

@ -74,7 +74,6 @@ function SandpackRoot(props: SandpackProps) {
hidden: true,
};
debugger;
return (
<div className="sandpack sandpack--playground sandbox my-8">
<SandpackProvider

1
beta/src/styles/sandpack.css

@ -259,6 +259,7 @@ html.dark .sandpack--playground .sp-overlay {
.sp-layout {
min-height: 216px;
overflow: initial !important;
}
.sp-layout > .sp-stack:nth-child(1) {

Loading…
Cancel
Save