fix: [code-682]: ui fixes from bug bash (#254)

This commit is contained in:
Calvin Lee 2023-07-31 18:12:55 +00:00 committed by Harness
parent 6bbf7bba5c
commit 1813c536a8
3 changed files with 15 additions and 8 deletions

View File

@ -62,7 +62,13 @@ export function CommitsView({
return (
<Layout.Horizontal spacing="small" flex={{ alignItems: 'center' }} style={{ display: 'inline-flex' }}>
<Avatar hoverCard={false} size="small" name={row.original.author?.identity?.name || ''} />
<Text icon="code-tag" iconProps={{ size: 22 }} className={css.rowText} color={Color.BLACK}>
<Text
lineClamp={1}
padding={{ right: 'small' }}
icon="code-tag"
iconProps={{ size: 22 }}
className={css.rowText}
color={Color.BLACK}>
{row.original.author?.identity?.name}
</Text>
</Layout.Horizontal>

View File

@ -199,13 +199,13 @@ export function FileContent({
style={{ padding: '5px' }}
width="145px"
items={[
{
hasIcon: true,
iconName: 'arrow-right',
text: getString('viewRaw'),
onClick: () => window.open(rawURL, '_blank') // TODO: This is still not working due to token is not stored in cookies
},
'-',
// {
// hasIcon: true,
// iconName: 'arrow-right',
// text: getString('viewRaw'),
// onClick: () => window.open(rawURL, '_blank') // TODO: This is still not working due to token is not stored in cookies
// },
// '-',
{
hasIcon: true,
iconName: 'cloud-download',

View File

@ -137,6 +137,7 @@ export function BranchesContent({ repoMetadata, searchTerm = '', branches, onDel
return (
<OptionsMenuButton
isDark
width="100px"
items={[
{