Skip to content

Commit d15ac4e

Browse files
committed
fix: minor font issues on params component
Signed-off-by: Efren Lim <elim@linuxfoundation.org>
1 parent 4ce6275 commit d15ac4e

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

frontend/src/config/integrations/git/components/git-params.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<el-popover v-if="nativeRepos.length > 0" trigger="hover" placement="top" popper-class="!w-72">
66
<template #reference>
77
<div
8-
class="text-gray-600 text-2xs flex items-center leading-5 font-medium underline decoration-dashed cursor-default"
8+
class="text-gray-600 text-2xs flex items-center leading-5 font-semibold underline decoration-dashed cursor-default"
99
>
1010
{{ nativeRepos.length }}
1111
{{ nativeRepos.length !== 1 ? "remote URLs" : "remote URL" }}
@@ -48,7 +48,7 @@
4848
>
4949
<template #reference>
5050
<div
51-
class="text-gray-600 text-2xs flex items-center leading-5 font-medium underline decoration-dashed cursor-default"
51+
class="text-gray-600 text-2xs flex items-center leading-5 font-semibold underline decoration-dashed cursor-default"
5252
>
5353
{{ pluralize('repository', groupedMirroredRepos[gmKey].length, true) }} (via {{ getIntegrationName(gmKey) }})
5454
</div>

frontend/src/config/integrations/github/components/github-mapped-repos.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
Syncing GitHub data from <span class="font-semibold px-1"> {{ projectNameDisplay }} </span>
1010
for&nbsp;
1111

12-
<lf-github-mappings-display :mappings="projectReposAsMappings" />
12+
<lf-github-mappings-display :mappings="projectReposAsMappings">
13+
<template #trigger>
14+
<span class="underline decoration-dashed cursor-default">
15+
{{ pluralize("repository", projectReposAsMappings.length, true) }}
16+
</span>
17+
</template>
18+
</lf-github-mappings-display>
1319
</span>
1420
</div>
1521
</template>
@@ -20,6 +26,7 @@ import { IntegrationService } from '@/modules/integration/integration-service';
2026
import LfIcon from '@/ui-kit/icon/Icon.vue';
2127
import LfGithubMappingsDisplay from '@/config/integrations/github/components/github-mappings-display.vue';
2228
import { IntegrationMapping } from '@/modules/admin/modules/integration/types/Integration';
29+
import pluralize from 'pluralize';
2330
2431
const props = defineProps<{
2532
segmentId: string;

frontend/src/config/integrations/github/components/github-mappings-display.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div
77
class="text-neutral-600 text-2xs flex items-center leading-5"
88
>
9-
<lf-icon name="book" :size="16" class="text-neutral-600 mr-1" />
9+
<lf-icon name="book" :size="16" class="text-neutral-600 mr-2" />
1010
<span class="font-semibold underline decoration-dashed cursor-default">
1111
{{ pluralize("repository", Object.keys(mappings).length, true) }}
1212
</span>

frontend/src/config/integrations/gitlab/components/gitlab-params.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<el-popover trigger="hover" placement="top" popper-class="!w-auto">
55
<template #reference>
66
<div
7-
class="text-gray-600 text-2xs flex items-center leading-5 font-medium"
7+
class="text-gray-600 text-2xs flex items-center leading-5 font-semibold"
88
>
99
<lf-svg name="git-repository" class="w-4 h-4 !text-gray-600 mr-1 flex items-center" />
1010
{{ pluralize("repository", Object.keys(mappings).length, true) }}

0 commit comments

Comments
 (0)