Skip to content
Snippets Groups Projects
Commit 1aa2ff3b authored by Julientaq's avatar Julientaq
Browse files

patch for attachment

parent 1d5601f4
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,7 @@ import classes from './Attachment.local.scss' ...@@ -5,8 +5,7 @@ import classes from './Attachment.local.scss'
const Attachment = ({ value }) => ( const Attachment = ({ value }) => (
<a <a
download={value.name} download={value.name}
href={value.url} href={value.url}>
className={classes.attachment}>
<span className={classes.icon}> <span className={classes.icon}>
<Icon color="var(--color-primary)">paperclip</Icon> <Icon color="var(--color-primary)">paperclip</Icon>
</span> </span>
......
.attachment {
position: absolute;
margin-right: -20ch;
width: 20ch;
}
.icon { .icon {
margin-right: 10px; margin-right: 10px;
display: inline-flex; display: inline-flex;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment