Skip to content

Commit 5260267

Browse files
authored
Merge pull request #215 from zenml-io/stack-creation-fixes
adding tabs name padding
2 parents 5f6368b + 6de14dd commit 5260267

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ui/layouts/common/Tabs/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ export const Tabs: React.FC<{ pages: TabPage[]; basePath: string }> = ({
5050
<IfElse
5151
condition={isActive}
5252
renderWhenFalse={() => (
53-
<Truncate maxLines={1}>
54-
<Paragraph color="grey">{page.text}</Paragraph>
55-
</Truncate>
53+
<Truncate maxLines={1}>
54+
<Paragraph color="grey" style={{ padding: '5px 0' }} >{page.text}</Paragraph>
55+
</Truncate>
5656
)}
5757
renderWhenTrue={() => (
58-
<Truncate maxLines={1}>
59-
<Paragraph color="primary">{page.text}</Paragraph>
60-
</Truncate>
58+
<Truncate maxLines={1}>
59+
<Paragraph color="primary" style={{ padding: '5px 0' }}>{page.text}</Paragraph>
60+
</Truncate>
6161
)}
6262
/>
6363
</Link>

0 commit comments

Comments
 (0)