mirror of
https://github.com/harness/drone.git
synced 2025-05-11 22:50:11 +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 (
|
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>
|
||||||
|
@ -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',
|
||||||
|
@ -137,6 +137,7 @@ export function BranchesContent({ repoMetadata, searchTerm = '', branches, onDel
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<OptionsMenuButton
|
<OptionsMenuButton
|
||||||
|
isDark
|
||||||
width="100px"
|
width="100px"
|
||||||
items={[
|
items={[
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user