Skip to content

Commit

Permalink
remove redundant style for "Cancel" button
Browse files Browse the repository at this point in the history
  • Loading branch information
dizel852 authored and edmundito committed Jan 4, 2023
1 parent 45f5d76 commit c8375ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
display: flex;

.resetButton,
.cancelButton,
.syncButton {
display: flex;
align-items: center;
Expand All @@ -23,16 +22,6 @@
margin-right: variables.$spacing-md;
}

.cancelButton {
border-color: transparent;
background-color: colors.$red;

.iconXmark {
margin-right: 12px;
font-size: 18px;
}
}

.syncButton {
.iconRotate {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ export const ConnectionStatusTab: React.FC = () => {

const cancelJobBtn = (
<Button
className={styles.cancelButton}
variant="danger"
disabled={!activeJob?.id || activeJob.isCanceling}
onClick={onCancelJob}
icon={<FontAwesomeIcon className={styles.iconXmark} icon={faXmark} />}
icon={<FontAwesomeIcon icon={faXmark} />}
>
{label}
</Button>
Expand Down

0 comments on commit c8375ce

Please sign in to comment.