Add margin-top
This commit is contained in:
parent
db525e9195
commit
f79792cd4d
@ -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' }} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user