We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d05547b commit e065e0aCopy full SHA for e065e0a
src/components/MDX/Sandpack/CustomPreset.tsx
@@ -125,6 +125,7 @@ const Editor = memo(function Editor({
125
showTabs={false}
126
showRunButton={false}
127
extensions={lintExtensions}
128
+ wrapContent={true}
129
/>
130
);
131
});
src/styles/sandpack.css
@@ -216,7 +216,6 @@ html.dark .sp-wrapper {
216
217
.sandpack--playground .sp-code-editor .cm-line {
218
padding: 0 var(--sp-space-3);
219
- width: max-content;
220
}
221
222
.sandpack--playground .sp-code-editor .cm-lineNumbers {
0 commit comments