fix: [ux] Repo summary (#2086)

ui/offscreen-diff-contents
Ritik Kapoor 2024-06-10 21:25:42 +00:00 committed by Harness
parent 90680e24f7
commit b3e43476e4
2 changed files with 7 additions and 4 deletions

View File

@ -135,7 +135,7 @@ export function LatestCommitForFolder({
<StringSubstitute str={getString('aheadDivergence')} vars={{ aheadCommits: commitDivergence.ahead }} /> <StringSubstitute str={getString('aheadDivergence')} vars={{ aheadCommits: commitDivergence.ahead }} />
</Text> </Text>
</Link> </Link>
<Text className={css.link} lineClamp={1}> <Text className={css.link} color={Color.GREY_500} lineClamp={1}>
{getString('and')} {getString('and')}
</Text> </Text>
<Link to={compareCommits(currentGitRef, metadata.default_branch as string)}> <Link to={compareCommits(currentGitRef, metadata.default_branch as string)}>
@ -187,7 +187,7 @@ export function LatestCommitForFolder({
color={Utils.getRealCSSColor(Color.GREY_500)} color={Utils.getRealCSSColor(Color.GREY_500)}
className={css.commitIcon} className={css.commitIcon}
/> />
<Text className={css.noWrap} font={{ variation: FontVariation.SMALL_SEMI }}> <Text className={css.noWrap} font={{ variation: FontVariation.SMALL_SEMI }} color={Color.GREY_500}>
<StringSubstitute str={getString('thisRefHas')} vars={{ isTag: isRefATag(gitRef) }} /> <StringSubstitute str={getString('thisRefHas')} vars={{ isTag: isRefATag(gitRef) }} />
</Text> </Text>
<Link to={commitPage}> <Link to={commitPage}>

View File

@ -10,7 +10,7 @@
} }
.content { .content {
margin: var(--spacing-xlarge) 0; margin: var(--spacing-small) 0;
gap: var(--spacing-xlarge); gap: var(--spacing-xlarge);
font-size: 13px !important; font-size: 13px !important;
.tags { .tags {
@ -35,7 +35,7 @@
} }
.metaData { .metaData {
padding: var(--spacing-small) 0; padding: 1.5px 0;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-bottom: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100);
@ -48,5 +48,8 @@
align-items: center; align-items: center;
} }
} }
.metaData:last-child {
border-bottom: none;
}
} }
} }