Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Remington Breeze <remington@breeze.software>
  • Loading branch information
rbreeze committed Jul 31, 2024
1 parent 2e71a73 commit f715548
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/features/project/pipelines/nodes/repo-node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ export const RepoNode = ({ nodeData, children, onClick }: Props) => {
(nodeData?.data?.status?.conditions || []).length > 0 && (
<Tooltip
title={
<div className='flex overflow-y-scroll text-wrap max-h-48'>
<FontAwesomeIcon icon={faExclamationCircle} className='mr-2 mt-1 pl-1' />
<div className='flex flex-col gap-4 overflow-y-scroll text-wrap max-h-48'>
<div
className='cursor-pointer min-w-0'
onClick={() => {
Expand All @@ -79,7 +78,8 @@ export const RepoNode = ({ nodeData, children, onClick }: Props) => {
}}
>
{nodeData?.data?.status?.conditions?.map((condition, index) => (
<div key={index} className='mb-4'>
<div key={index} className='flex text-wrap'>
<FontAwesomeIcon icon={faExclamationCircle} className='mr-2 mt-1 pl-1' />
{condition.message}
</div>
))}
Expand Down

0 comments on commit f715548

Please sign in to comment.