Browse Source

edit sandpack style overrides to also cover 'dirty' case (#4070)

Co-authored-by: Matt Martinez <matmartinez@bills.com>
main
Matthew Martinez 3 years ago
committed by GitHub
parent
commit
c29bcd7ed7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      beta/src/styles/sandpack.css

4
beta/src/styles/sandpack.css

@ -140,11 +140,11 @@ html.dark .sp-tabs .sp-tab-button[data-active='true'] {
font-size: 16px !important;
line-height: 24px !important;
}
.sp-cm.sp-pristine .cm-scroller {
.sp-cm.sp-pristine .cm-scroller, .sp-cm.sp-dirty .cm-scroller {
overflow: auto !important;
padding: 18px 0 !important;
}
.sp-cm.sp-pristine .cm-gutters {
.sp-cm.sp-pristine .cm-gutters, .sp-cm.sp-dirty .cm-gutters {
background-color: var(--sp-colors-bg-default);
z-index: 1;
}

Loading…
Cancel
Save