mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 17:21:41 +10:00
chore: simplify document attachment rendering in DocumentSigningForm
- Removed unnecessary Button wrapper around attachment links. - Enhanced layout for attachment links with improved styling and structure.
This commit is contained in:
@ -388,16 +388,16 @@ export const DocumentSigningForm = ({
|
||||
<div className="flex flex-col space-y-2">
|
||||
{document.attachments.map((attachment, index) => (
|
||||
<div key={index}>
|
||||
<Button variant="outline" asChild>
|
||||
<Link
|
||||
to={attachment.url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<LinkIcon className="mr-2 h-4 w-4" />
|
||||
<div className="ml-2 flex flex-row items-center gap-2">
|
||||
<LinkIcon className="h-4 w-4" />
|
||||
{attachment.label}
|
||||
</div>
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user