Skip to content

Commit f4b2312

Browse files
committed
fix: cd empty state cta class
1 parent 44df859 commit f4b2312

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Shared/Components/CICDHistory/CDEmptyState.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,16 @@ const CDEmptyState = ({
4242
}) => {
4343
const handleCDEmptyStateButton = () =>
4444
actionButtonText ? (
45-
<div
46-
className={`${
47-
actionButtonClass || 'cb-5 bcn-0 en-2'
48-
} fcn-0 fw-6 fs-13 flexbox br-4 pl-16 pr-16 pt-8 pb-8 pointer`}
45+
<button
46+
type="button"
47+
className={`${actionButtonClass || ''} cta secondary flex h-32`}
4948
onClick={actionHandler}
5049
data-testid={dataTestId}
5150
>
5251
{ActionButtonIcon && !actionButtonIconRight && <ActionButtonIcon className="add-icon" />}
5352
{actionButtonText}
5453
{ActionButtonIcon && actionButtonIconRight && <ActionButtonIcon className="icon-dim-16 ml-8" />}
55-
</div>
54+
</button>
5655
) : null
5756
return (
5857
<div className="dc__position-rel" style={{ backgroundColor: 'var(--window-bg)' }}>

0 commit comments

Comments
 (0)