Skip to content

Commit 5313ba1

Browse files
authored
fix: DH-19731: Dashboard overflow handling (#2479)
For DH-19731. Implements overflow handling for dashboard tabs.
1 parent 079c3e0 commit 5313ba1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/code-studio/src/main/AppMainContainer.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,14 @@ export class AppMainContainer extends Component<
963963
<Logo className="ml-1" style={{ maxHeight: '20px' }} />
964964
{/* Only show the Code Studio tab if there is also an open dashboard */}
965965
{tabs.length > 1 && (
966-
<div style={{ flexShrink: 0, flexGrow: 1, display: 'flex' }}>
966+
<div
967+
style={{
968+
flexShrink: 0,
969+
flexGrow: 1,
970+
flexBasis: 0,
971+
minWidth: 0,
972+
}}
973+
>
967974
<NavTabList
968975
tabs={tabs}
969976
activeKey={activeTabKey}

0 commit comments

Comments
 (0)