Skip to content

Commit

Permalink
Moves mirror button before ellipsis button.
Browse files Browse the repository at this point in the history
  • Loading branch information
neomorphic committed Mar 11, 2022
1 parent c62ab91 commit 792cf22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/MatchModal/ImageActions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export default function ImageActions({contextMenu, children}) {

return (
<>
{children}
<Dropdown overlay={contextMenu}>
<Button style={{marginLeft: "0.5em"}}>
<EllipsisOutlined />
</Button>
</Dropdown>
{children}
</>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MatchModal/MirrorButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { faRepeat } from "@fortawesome/pro-regular-svg-icons";

export default function MirrorButton ({mirrored, onClick }) {
return (
<Button style={{float: "right"}} onClick={() => onClick(!mirrored)}>
<Button style={{marginLeft: "0.5em" }} onClick={() => onClick(!mirrored)}>
<FontAwesomeIcon icon={faRepeat} style={{ marginRight: "0.5em" }} />
{mirrored ? "Unmirror" : "Mirror"}
</Button>
Expand Down

0 comments on commit 792cf22

Please sign in to comment.