From ced8b492e52c6db8565e66c228ee4c2bd85b3ef8 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 14 Jan 2022 15:08:44 +0000 Subject: [PATCH] fix(ui): visual regression (#304) --- sandpack-react/src/styles/index.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;