Skip to content

Commit 8ed148b

Browse files
authored
fix(sandpack): upgrade dependencies (#4075)
* fix(sandpack): upgrade dependencies * fix(sandpack): remove selector that relies on the editor state
1 parent 7f99539 commit 8ed148b

File tree

3 files changed

+1143
-1878
lines changed

3 files changed

+1143
-1878
lines changed

beta/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"start": "next start"
1919
},
2020
"dependencies": {
21-
"@codesandbox/sandpack-react": "^0.1.16",
21+
"@codesandbox/sandpack-react": "^0.1.20",
2222
"@docsearch/css": "3.0.0-alpha.41",
2323
"@docsearch/react": "3.0.0-alpha.41",
2424
"@headlessui/react": "^1.3.0",

beta/src/styles/sandpack.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ html.dark .sp-tabs .sp-tab-button[data-active='true'] {
140140
font-size: 16px !important;
141141
line-height: 24px !important;
142142
}
143-
.sp-cm.sp-pristine .cm-scroller, .sp-cm.sp-dirty .cm-scroller {
143+
.sp-cm .cm-scroller {
144144
overflow: auto !important;
145145
padding: 18px 0 !important;
146146
}
147-
.sp-cm.sp-pristine .cm-gutters, .sp-cm.sp-dirty .cm-gutters {
147+
.sp-cm .cm-gutters {
148148
background-color: var(--sp-colors-bg-default);
149149
z-index: 1;
150150
}

0 commit comments

Comments
 (0)