I've been trying to create an note item in react, but I can't make the note description display over the trash icon, how can I get this effect?
This is what I want:

This is what I get:

My react code:
import React from 'react';
import { FiTrash2, FiCalendar, FiBookmark } from 'react-icons/fi';
import { NoteType } from '../../utils/types';
import { formatDate } from '../../utils/functions';
import './styles.css';
interface NoteItem {
note: NoteType;
onEdit(): void;
onDelete(): void;
}
const NoteItem: React.FC<NoteItem> = ({ note, onEdit, onDelete }) => {
return (
<div className="NoteItem" style={{ borderColor: note.color }}>
<div className="info" onClick={ onEdit }>
<p>{ note.description }</p>
<div className="rows">
<div className="row">
<FiBookmark size={ 18 } className="icon" color={ note.color } />
<p>{ note.status }</p>
</div>
<div className="row">
<FiCalendar size={ 18 } className="icon" color={ note.color } />
<p>{ formatDate(note.created_at) }</p>
</div>
</div>
</div>
<div className="buttons">
<button title="Deletar" onClick={ onDelete }>
<FiTrash2 size={ 18 } className="remove" />
</button>
</div>
</div>
);
}
export default NoteItem;
Can anyone help me?