mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
edit sandpack style overrides to also cover 'dirty' case (#4070)
Co-authored-by: Matt Martinez <matmartinez@bills.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user