move repost icon to submit button instead of card for consistency
This commit is contained in:
parent
a4a80ee2f6
commit
117ccd87e1
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,6 @@ function ModalRepost(props: Props) {
|
||||||
return (
|
return (
|
||||||
<Modal isOpen type="card" onAborted={handleCloseModal} onConfirmed={handleCloseModal}>
|
<Modal isOpen type="card" onAborted={handleCloseModal} onConfirmed={handleCloseModal}>
|
||||||
<Card
|
<Card
|
||||||
icon={ICONS.REPOST}
|
|
||||||
title={
|
title={
|
||||||
<span>
|
<span>
|
||||||
Repost <em>{title}</em>
|
Repost <em>{title}</em>
|
||||||
|
@ -194,6 +193,7 @@ function ModalRepost(props: Props) {
|
||||||
|
|
||||||
<div className="section__actions">
|
<div className="section__actions">
|
||||||
<Button
|
<Button
|
||||||
|
icon={ICONS.REPOST}
|
||||||
disabled={reposting || repostBidError || repostNameError}
|
disabled={reposting || repostBidError || repostNameError}
|
||||||
button="primary"
|
button="primary"
|
||||||
label={reposting ? __('Reposting') : __('Repost')}
|
label={reposting ? __('Reposting') : __('Repost')}
|
||||||
|
|
Loading…
Add table
Reference in a new issue