fix: make sure of design system button and inherent typography props
This commit is contained in:
@@ -133,18 +133,16 @@ export default function DigitalTeamMemberCardContent({
|
||||
<div className={styles.card} ref={cardRef} style={renderSkew()}>
|
||||
<div className={styles.shimmer} style={renderShimmer()} />
|
||||
<div className={styles.content}>
|
||||
<div className={styles.top}>
|
||||
<Typography variant="Tag/sm">
|
||||
<Typography variant="Tag/sm">
|
||||
<div className={styles.top}>
|
||||
<span>
|
||||
{intl.formatMessage({ defaultMessage: "Team Member" })}
|
||||
</span>
|
||||
</Typography>
|
||||
<Typography variant="Tag/sm">
|
||||
{/* TODO: Should display country of employment */}
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
<span>SWE</span>
|
||||
</Typography>
|
||||
</div>
|
||||
</div>
|
||||
</Typography>
|
||||
<div className={styles.middle}>
|
||||
<div className={styles.employeeNumber}>
|
||||
<Typography variant="Title/sm">
|
||||
@@ -174,21 +172,19 @@ export default function DigitalTeamMemberCardContent({
|
||||
</div>
|
||||
</Typography>
|
||||
</div>
|
||||
<div className={styles.bottom}>
|
||||
<Typography variant="Tag/sm">
|
||||
<Typography variant="Tag/sm">
|
||||
<div className={styles.bottom}>
|
||||
<span>
|
||||
{/* TODO: Should display department of employment */}
|
||||
{/* eslint-disable formatjs/no-literal-string-in-jsx */}
|
||||
Haymarket by Scandic
|
||||
{/* eslint-enable */}
|
||||
</span>
|
||||
</Typography>
|
||||
<Typography variant="Tag/sm">
|
||||
{/* TODO: Should display current state of employment */}
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
<span>Employee</span>
|
||||
</Typography>
|
||||
</div>
|
||||
</div>
|
||||
</Typography>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user