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

Co-authored-by: Matt Martinez <matmartinez@bills.com>
This commit is contained in:
Matthew Martinez
2021-11-06 17:49:26 -07:00
committed by GitHub
parent 196edb3022
commit c29bcd7ed7

View File

@@ -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;
}