diff --git a/sandpack-react/src/styles/index.css b/sandpack-react/src/styles/index.css index c930ebd0a..9c3f0406a 100644 --- a/sandpack-react/src/styles/index.css +++ b/sandpack-react/src/styles/index.css @@ -255,8 +255,7 @@ /* Common Styling */ .sp-tab-button { - display: flex; - align-items: center; + display: block; background: transparent; appearance: none; font-size: inherit; @@ -307,6 +306,8 @@ padding: var(--sp-space-1) var(--sp-space-3) var(--sp-space-1) var(--sp-space-2); border-radius: var(--sp-border-radius); + display: flex; + align-items: center; color: var(--sp-colors-fg-default); background-color: var(--sp-colors-bg-default); font-size: inherit;