1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00
This commit is contained in:
Fedor Katurov 2019-10-09 20:25:23 +07:00
parent 87112cd985
commit 2f11bb80aa
10 changed files with 21 additions and 18 deletions

View file

@ -27,8 +27,8 @@ const Comment: FC<IProps> = ({ comment, is_empty, is_loading, className, photo,
{comment.files && comment.files.length > 0 && (
<div className={styles.images}>
{comment.files.map(file => (
<div>
<img src={getURL(file.url)} />
<div key={file.id}>
<img src={getURL(file.url)} alt={file.name} />
</div>
))}
</div>

View file

@ -15,6 +15,6 @@
@include flexbin(150px, 10px);
img {
border-radius: 4px;
border-radius: $radius;
}
}