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 ( return (
<Layout.Horizontal spacing="small" flex={{ alignItems: 'center' }} style={{ display: 'inline-flex' }}> <Layout.Horizontal spacing="small" flex={{ alignItems: 'center' }} style={{ display: 'inline-flex' }}>
<Avatar hoverCard={false} size="small" name={row.original.author?.identity?.name || ''} /> <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} {row.original.author?.identity?.name}
</Text> </Text>
</Layout.Horizontal> </Layout.Horizontal>

View File

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

View File

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