Fixed up the dropdown text alignments

refs https://github.com/TryGhost/Team/issues/1703
This commit is contained in:
James Morris 2022-07-22 09:39:27 +01:00
parent 2c013b8db0
commit 273c19db45
3 changed files with 4 additions and 4 deletions

View File

@ -20,11 +20,11 @@ const AdminContextMenu = (props) => {
<div className="flex flex-col">
{
isHidden ?
<button className="text-[14px]" onClick={showComment}>
<button className="w-full text-left text-[14px]" onClick={showComment}>
Show comment
</button>
:
<button className="text-[14px]" onClick={hideComment}>
<button className="w-full text-left text-[14px]" onClick={hideComment}>
Hide comment
</button>
}

View File

@ -14,7 +14,7 @@ const AuthorContextMenu = (props) => {
<button className="w-full mb-3 text-left text-[14px]" onClick={props.toggleEdit}>
Edit
</button>
<button className="w-full text-left text-[14px]" onClick={deleteComment}>
<button className="w-full text-left text-[14px] text-red-600" onClick={deleteComment}>
Delete
</button>
</div>

View File

@ -14,7 +14,7 @@ const NotAuthorContextMenu = (props) => {
return (
<div className="flex flex-col">
<button className="text-[14px]" onClick={openModal}>
<button className="w-full text-left text-[14px]" onClick={openModal}>
Report comment
</button>
</div>