mirror of
https://github.com/harness/drone.git
synced 2025-05-08 11:41:25 +08:00
fix: [code-682]: ui fixes from bug bash (#254)
This commit is contained in:
parent
6bbf7bba5c
commit
1813c536a8
@ -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>
|
||||
|
@ -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',
|
||||
|
@ -137,6 +137,7 @@ export function BranchesContent({ repoMetadata, searchTerm = '', branches, onDel
|
||||
|
||||
return (
|
||||
<OptionsMenuButton
|
||||
isDark
|
||||
width="100px"
|
||||
items={[
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user