Skip to content

Commit

Permalink
keep 0 margin as before
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Oct 10, 2024
1 parent 6bc0848 commit 03082bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/html-reporter/src/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const AttachmentLink: React.FunctionComponent<{
: <span>{linkifyText(attachment.name)}</span>
)}
</span>} loadChildren={attachment.body ? () => {
return [<div key={1} className='attachment-body' style={{ marginLeft: 24 + (depth ?? 0) * 22 + 4 }}><CopyToClipboard value={attachment.body!}/>{linkifyText(attachment.body!)}</div>];
return [<div key={1} className='attachment-body' style={{ marginLeft: 24 + (depth ?? 0) * 22 }}><CopyToClipboard value={attachment.body!}/>{linkifyText(attachment.body!)}</div>];
} : undefined} depth={depth ?? 0} style={{ lineHeight: '32px' }}></TreeItem>;
};

Expand Down

0 comments on commit 03082bd

Please sign in to comment.