Skip to content

Commit

Permalink
Markdown needs to be contained in div
Browse files Browse the repository at this point in the history
  • Loading branch information
bioshazard committed Apr 26, 2024
1 parent 40a305f commit ee2f503
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Board.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,9 @@ export default function Board(props) {
</div>

<div className="flex flex-row justify-between">
<ReactMarkdown children={card.content} components={components} remarkPlugins={[remarkGfm]} />
<div>
<ReactMarkdown children={card.content} components={components} remarkPlugins={[remarkGfm]} />
</div>
<div className="">
<button className={`bg-white rounded ${true && "invisible group-hover:visible"}`} onClick={() => cardEditToggle(card.id)}><FontAwesomeIcon icon={faPencil} /></button>
</div>
Expand Down

0 comments on commit ee2f503

Please sign in to comment.