Add margin-top

This commit is contained in:
ekzyis 2023-10-19 17:36:38 +02:00 committed by ekzyis
parent db525e9195
commit f79792cd4d

View File

@ -103,7 +103,7 @@ function ImageSelector ({ file, name, url, text, setText, onDelete }) {
} }
return ( return (
<span className='d-flex align-items-center text-muted'> <span className='d-flex align-items-center text-muted mt-2'>
<img className='me-1' src={file ? window.URL.createObjectURL(file) : url} width={32} height={32} style={{ objectFit: 'contain' }} /> <img className='me-1' src={file ? window.URL.createObjectURL(file) : url} width={32} height={32} style={{ objectFit: 'contain' }} />
<a href={url} target='_blank' rel='noreferrer'>{name || url}</a> <a href={url} target='_blank' rel='noreferrer'>{name || url}</a>
<LinkIcon className='ms-auto me-1' width={18} height={18} onClick={onLink} style={{ cursor: 'pointer' }} /> <LinkIcon className='ms-auto me-1' width={18} height={18} onClick={onLink} style={{ cursor: 'pointer' }} />