diff --git a/homedocs/src/components/CodeExample.astro b/homedocs/src/components/CodeExample.astro index 276f888fc..679987a55 100644 --- a/homedocs/src/components/CodeExample.astro +++ b/homedocs/src/components/CodeExample.astro @@ -354,55 +354,20 @@ const stackblitzProjectData = stackblitzProject && JSON.stringify(stackblitzProj class="code-block relative rounded-lg overflow-hidden border border-border bg-[hsl(var(--code-bg))]" > { - !hasTabs && stackblitzProject && ( - - ) - } - { - hasTabs && ( + (hasTabs || stackblitzProject) && (
@@ -513,6 +481,10 @@ const stackblitzProjectData = stackblitzProject && JSON.stringify(stackblitzProj
)
}
@@ -131,11 +154,11 @@ import InventoryExample from '../examples/homepage/InventoryExample.tsx';