Skip to content

Commit b24711e

Browse files
authored
Merge pull request #525 from topcoder-platform/restore-certificate-gradient-text
restore the certificate gradient text
2 parents 2928b60 + 5818ea4 commit b24711e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-ts/tools/learn/learn-lib/tca-certificate-preview/tca-certificate/TCACertificate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const TCACertificate: FC<TCACertificateProps> = (props: TCACertificateProps) =>
4848
className={classNames(styles.wrap, props.viewStyle)}
4949
ref={props.elRef}
5050
>
51-
<div className={styles.theme}>
51+
<div className={classNames(styles.theme, styles[`theme-${certificateType.toLowerCase()}`])}>
5252
<CertificateBackground className={styles.background} certType={certificateType} />
5353
<div className={classNames(styles.details)}>
5454
<div className={styles.headerWrap}>

0 commit comments

Comments
 (0)