mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
finish removing sidebar bg override from previews
This commit is contained in:
1 parent
78cfe0270a
commit
bc9abc6d62
1 file changed
+4
-7
@@ -141,13 +141,10 @@ export function ComponentPreview({
|
||||
return (
|
||||
<div className={cn('mt-4 mb-12', wideClasses)}>
|
||||
<div
|
||||
className={cn(
|
||||
'relative overflow-hidden bg-studio [&_[data-sidebar=sidebar]]:bg-transparent',
|
||||
{
|
||||
'rounded-tl-md rounded-tr-md border-t border-l border-r': !hideCode,
|
||||
'rounded-md border': hideCode,
|
||||
}
|
||||
)}
|
||||
className={cn('relative overflow-hidden bg-studio', {
|
||||
'rounded-tl-md rounded-tr-md border-t border-l border-r': !hideCode,
|
||||
'rounded-md border': hideCode,
|
||||
})}
|
||||
>
|
||||
{showGrid && (
|
||||
<div className="pointer-events-none absolute h-full w-full bg-[linear-gradient(to_right,oklch(from_var(--foreground-default)_l_c_h_/_0.02)_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-size-[24px_24px]"></div>
|
||||
|
||||
Reference in new issue
Block a user