diff --git a/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx b/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx index 375f2f779ff..8a9e5a6a8f6 100644 --- a/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx +++ b/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx @@ -19,8 +19,8 @@ export function TabsLayoutManagerRenderer({ model }: SceneComponentProps - +
+
{tabs.map((tab) => ( @@ -35,12 +35,17 @@ export function TabsLayoutManagerRenderer({ model }: SceneComponentProps {currentTab && } - +
); } const getStyles = (theme: GrafanaTheme2) => ({ - tabsWrapper: css({ + tabLayoutContainer: css({ + display: 'flex', + flexDirection: 'column', + flex: '1 1 auto', + }), + tabsBar: css({ overflow: 'hidden', }), tabsRow: css({ @@ -60,9 +65,7 @@ const getStyles = (theme: GrafanaTheme2) => ({ backgroundColor: 'transparent', display: 'flex', flex: 1, - height: '100%', - overflow: 'auto', - scrollbarWidth: 'thin', + minHeight: 0, padding: '2px 2px 0 2px', }), });