I want to display IconButtons alongside plain text in a single block of text, but the result didn't turn out as I had hoped. Here is what I attempted:
JS(ReactJS):
<div>
<span>
<h3>Title</h3>
<IconButton className="editBtn" size="small">
<EditIcon style={{ fontSize: 25 }} />
</IconButton>
<IconButton className="deleteBtn" size="small">
<DeleteIcon style={{ fontSize: 25 }} />
</IconButton>
</span>
<p>Article</p>
</div>
CSS:
.deleteBtn {
padding: 3vw !important;
color: #e71f1f !important;
width: 5vh;
border: black;
}
.editBtn {
padding: 3vw !important;
color: #4ddd40 !important;
width: 5vh;
border: black;
}