Skip to content

Commit 2de2a05

Browse files
committed
fix(onboarding): Adjust grid template to account for More column presence
1 parent bfd4367 commit 2de2a05

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

static/app/views/onboarding/components/scmProviderPills.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ export function ScmProviderPills({providers, onInstall}: ScmProviderPillsProps)
3939
<Grid
4040
columns={{
4141
xs: '1fr 1fr',
42-
md: primaryProviders.length
43-
? `repeat(${primaryProviders.length}, 1fr) min-content`
44-
: 'min-content',
42+
md: `${primaryProviders.length ? `repeat(${primaryProviders.length}, 1fr)${moreProviders.length ? ' ' : ''}` : ''}${moreProviders.length ? 'min-content' : ''}`,
4543
}}
4644
rows={{xs: 2}}
4745
justify="center"

0 commit comments

Comments
 (0)