Skip to content

Commit c69a128

Browse files
authored
update spacing (github#19899)
1 parent 83205a0 commit c69a128

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

components/landing/GuideCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const GuideCard = ({ guide }: Props) => {
88
const authorString = `@${authors.join(', @')}`
99

1010
return (
11-
<div className="col-lg-4 col-12 mb-3">
11+
<div className="col-lg-4 col-12 mb-4">
1212
<a
1313
className="Box color-shadow-medium height-full d-block hover-shadow-large no-underline color-text-primary p-5"
1414
href={guide.href}

components/landing/ProductLanding.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,38 +37,38 @@ export const ProductLanding = () => {
3737
</LandingSection>
3838

3939
{productCodeExamples.length > 0 && (
40-
<LandingSection title={t('code_examples')} className="my-6">
40+
<LandingSection title={t('code_examples')} className="my-6 pb-6">
4141
<CodeExamples />
4242
</LandingSection>
4343
)}
4444

4545
{productCommunityExamples.length > 0 && (
46-
<LandingSection title={t('communities_using_discussions')} className="my-6">
46+
<LandingSection title={t('communities_using_discussions')} className="my-6 pb-6">
4747
<CommunityExamples />
4848
</LandingSection>
4949
)}
5050

5151
{productUserExamples.length > 0 && (
52-
<LandingSection title={t('sponsor_community')} className="my-6">
52+
<LandingSection title={t('sponsor_community')} className="my-6 pb-6">
5353
<SponsorsExamples />
5454
</LandingSection>
5555
)}
5656

5757
{router.query.productId === 'admin' && isEnterpriseServer && (
58-
<LandingSection title={t('supported_releases')} className="my-6">
58+
<LandingSection title={t('supported_releases')} className="my-6 pb-6">
5959
<ProductReleases />
6060
</LandingSection>
6161
)}
6262

6363
{guideCards.length > 0 && (
64-
<div className="color-bg-tertiary py-6 my-8">
64+
<div className="color-bg-tertiary py-6">
6565
<LandingSection title={t('guides')} className="my-6">
6666
<GuideCards />
6767
</LandingSection>
6868
</div>
6969
)}
7070

71-
<LandingSection sectionLink="all-docs" title={`All ${shortTitle} docs`}>
71+
<LandingSection sectionLink="all-docs" title={`All ${shortTitle} docs`} className="pt-9">
7272
<ProductArticlesList />
7373
</LandingSection>
7474
</DefaultLayout>

components/landing/ProductReleases.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function ProductReleases() {
2424
const firstPreviousVersion = `enterprise-server@${release.firstPreviousRelease}`
2525
const secondPreviousVersion = `enterprise-server@${release.secondPreviousRelease}`
2626
return (
27-
<div key={releaseNumber} className="col-lg-4 col-12 mb-3">
27+
<div key={releaseNumber} className="col-lg-4 col-12 mb-4">
2828
<div className="Box color-shadow-medium height-full d-block hover-shadow-large no-underline color-text-primary p-5">
2929
<h2>{allVersions[releaseVersion].versionTitle}</h2>
3030
<p className="mt-2 mb-4 color-text-tertiary">

0 commit comments

Comments
 (0)