From cc17b9e88edeadfafad547e3815a18948253d1f2 Mon Sep 17 00:00:00 2001
From: Oisin Coveney <oisin@metabase.com>
Date: Tue, 18 Jun 2024 18:35:55 +0300
Subject: [PATCH] fix(sdk): Fix spacing between collection browser and
 breadcrumbs (#44342)

---
 .../public/CollectionBrowser/CollectionBrowser.tsx          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/enterprise/frontend/src/embedding-sdk/components/public/CollectionBrowser/CollectionBrowser.tsx b/enterprise/frontend/src/embedding-sdk/components/public/CollectionBrowser/CollectionBrowser.tsx
index 28840e3aa15..0017f85855b 100644
--- a/enterprise/frontend/src/embedding-sdk/components/public/CollectionBrowser/CollectionBrowser.tsx
+++ b/enterprise/frontend/src/embedding-sdk/components/public/CollectionBrowser/CollectionBrowser.tsx
@@ -5,7 +5,7 @@ import { COLLECTION_PAGE_SIZE } from "metabase/collections/components/Collection
 import { CollectionItemsTable } from "metabase/collections/components/CollectionContent/CollectionItemsTable";
 import { isNotNull } from "metabase/lib/types";
 import CollectionBreadcrumbs from "metabase/nav/containers/CollectionBreadcrumbs/CollectionBreadcrumbs";
-import { Box } from "metabase/ui";
+import { Stack } from "metabase/ui";
 import type {
   CollectionEssentials,
   CollectionId,
@@ -74,7 +74,7 @@ export const CollectionBrowserInner = ({
     .filter(isNotNull);
 
   return (
-    <Box className={className} style={style}>
+    <Stack w="100%" h="100%" spacing="sm" className={className} style={style}>
       <CollectionBreadcrumbs
         collectionId={currentCollectionId}
         onClick={onClickBreadcrumbItem}
@@ -88,7 +88,7 @@ export const CollectionBrowserInner = ({
         showActionMenu={false}
         EmptyContentComponent={EmptyContentComponent ?? undefined}
       />
-    </Box>
+    </Stack>
   );
 };
 
-- 
GitLab