Skip to content

Commit b5bd81d

Browse files
committed
Moved pencil to datetime row
1 parent ee2f503 commit b5bd81d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

src/components/Board.jsx

+6-11
Original file line numberDiff line numberDiff line change
@@ -691,18 +691,13 @@ export default function Board(props) {
691691
</div>
692692
</div>
693693

694-
<div className="flex flex-row justify-between">
695-
<div>
696-
<ReactMarkdown children={card.content} components={components} remarkPlugins={[remarkGfm]} />
697-
</div>
698-
<div className="">
699-
<button className={`bg-white rounded ${true && "invisible group-hover:visible"}`} onClick={() => cardEditToggle(card.id)}><FontAwesomeIcon icon={faPencil} /></button>
700-
</div>
701-
</div>
694+
<ReactMarkdown children={card.content} components={components} remarkPlugins={[remarkGfm]} />
702695

703-
704-
<div className="text-right text-xs text-gray-500">
705-
<em>{new Date(card.created).toLocaleDateString()} {new Date(card.created).toLocaleTimeString()}</em>
696+
<div className="flex flex-row justify-between text-xs text-gray-500">
697+
<div className="text-left ">
698+
<em>{new Date(card.created).toLocaleDateString()} {new Date(card.created).toLocaleTimeString()}</em>
699+
</div>
700+
<button className={`bg-white rounded ${true && "invisible group-hover:visible"}`} onClick={() => cardEditToggle(card.id)}><FontAwesomeIcon icon={faPencil} /></button>
706701
</div>
707702
</div>
708703
)}

0 commit comments

Comments
 (0)