From 4451e5b0b35478e1f5d556a09b42ddfeed1586fe Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 28 Jan 2022 00:42:14 +0000 Subject: [PATCH] Make line highlight full width (#4246) --- beta/src/styles/sandpack.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beta/src/styles/sandpack.css b/beta/src/styles/sandpack.css index 35bb42e6..93d70c1d 100644 --- a/beta/src/styles/sandpack.css +++ b/beta/src/styles/sandpack.css @@ -114,7 +114,7 @@ html.dark .sp-tabs .sp-tab-button[data-active='true'] { */ .sp-stack { height: initial !important; - width: fit-content !important; + width: 100% !important; } .sp-cm { -webkit-text-size-adjust: none !important; @@ -146,6 +146,9 @@ html.dark .sp-tabs .sp-tab-button[data-active='true'] { background-color: var(--sp-colors-bg-default); z-index: 1; } +.sp-wrapper { + width: 100% !important; +} .sp-wrapper .sp-custom-layout { overflow: initial; border: 0px solid transparent;