Skip to content

Commit bbe09a9

Browse files
committed
fix layout issue from merge
1 parent b7b3446 commit bbe09a9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/frontend/src/features/CohortBuilder/CohortPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export const CohortPanel = ({
236236
<LoadingOverlay visible={isAggsQueryFetching} />
237237
<CohortManager index={index} />
238238
<div className="flex w-full">
239-
<div className="flex w-1/3">
239+
<div className="flex w-1/4">
240240
{filters?.tabs === undefined ? null : filters?.tabs.length > 1 ? (
241241
<DropdownPanel
242242
index={index}
@@ -246,7 +246,7 @@ export const CohortPanel = ({
246246
facetDataHooks={facetDataHooks}
247247
/>
248248
) : (
249-
<TabbedPanel
249+
<DropdownPanel
250250
index={index}
251251
filters={filters}
252252
tabTitle={tabTitle}
@@ -255,7 +255,7 @@ export const CohortPanel = ({
255255
/>
256256
)}
257257
</div>
258-
<div className="flex flex-col w-full">
258+
<div className="flex flex-col w-full ml-4 ">
259259
<div className="flex justify-between mb-2 ml-2">
260260
<DownloadsPanel
261261
dropdowns={dropdowns ?? {}}

packages/frontend/src/pages/Explorer/data.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export const ExplorerPageGetServerSideProps: GetServerSideProps<
1414
return {
1515
props: {
1616
...(await getNavPageLayoutPropsFromConfig()),
17-
explorerConfig: cohortBuilderProps,
17+
tabsLayout: cohortBuilderProps?.tabsLayout ?? 'left',
18+
explorerConfig: cohortBuilderProps.explorerConfig,
1819
},
1920
};
2021
} catch (err) {

0 commit comments

Comments
 (0)