commentItem: fix background on actions

This commit is contained in:
Matilde Park 2021-04-02 15:38:56 -04:00
parent ea5dc47eca
commit a059f85952

View File

@ -54,7 +54,7 @@ export function CommentItem(props: CommentItemProps): ReactElement {
if (window.ship == post?.author && !disabled) {
adminLinks.push(
<Link to={{ pathname: props.baseUrl, search: `?edit=${commentIndex}`}}>
<Action>
<Action bg="white">
Update
</Action>
</Link>
@ -63,7 +63,7 @@ export function CommentItem(props: CommentItemProps): ReactElement {
if ((window.ship == post?.author || ourRole == "admin") && !disabled) {
adminLinks.push(
<Action onClick={onDelete} destructive>
<Action bg="white" onClick={onDelete} destructive>
Delete
</Action>
)