diff --git a/src/app/components/generator/GeneratorList.tsx b/src/app/components/generator/GeneratorList.tsx index bad4a48f..0266430f 100644 --- a/src/app/components/generator/GeneratorList.tsx +++ b/src/app/components/generator/GeneratorList.tsx @@ -45,7 +45,7 @@ export function GeneratorList({ predicate }: Props) { {filteredGenerators.length === 0 ? <> {locale('generators.no_results')} - :
+ :
{filteredGenerators.map(gen => )} diff --git a/src/app/components/versions/ChangelogList.tsx b/src/app/components/versions/ChangelogList.tsx index 83cf7248..f11a6727 100644 --- a/src/app/components/versions/ChangelogList.tsx +++ b/src/app/components/versions/ChangelogList.tsx @@ -63,13 +63,15 @@ export function ChangelogList({ changes, defaultOrder, limit, navigation }: Prop {tags.length > 0 &&
{tags.map(tag => toggleTag(tag)} />)}
} -
- {limitedChangelogs === undefined - ? {locale('loading')} - : limitedChangelogs.length === 0 - ? {locale('changelog.no_results')} - : limitedChangelogs.map(change => - )} +
+ {limitedChangelogs === undefined ? <> + {locale('loading')} + : limitedChangelogs.length === 0 ? <> + {locale('changelog.no_results')} + : <> + {limitedChangelogs.map(change => + )} + } {hiddenChanges > 0 && ( setLimitActive(false)}/> )} diff --git a/src/app/pages/Guides.tsx b/src/app/pages/Guides.tsx index f0c2db97..c3ef8bb3 100644 --- a/src/app/pages/Guides.tsx +++ b/src/app/pages/Guides.tsx @@ -49,7 +49,7 @@ export function Guides({}: Props) { {activeTags.length > 0 &&
{activeTags.map(tag => toggleTag(tag)} />)}
} -
+
{versionedGuides.length === 0 ? <> {locale('guides.no_results.version')} : filteredGuides.length === 0 ? <> diff --git a/src/styles/global.css b/src/styles/global.css index cc95acc2..039589df 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1683,16 +1683,6 @@ hr { flex-basis: 100%; } -.result-list { - margin-top: 8px; - display: flex; - flex-direction: column; -} - -.result-list > *:not(:last-child) { - margin-bottom: 8px; -} - .version-detail { color: var(--text-3); } @@ -2145,10 +2135,6 @@ hr { grid-template-columns: 1fr; } - .card-columns { - grid-template-columns: 1fr; - } - .title h1 { font-size: 18px; }