Skip to content

Commit

Permalink
Merge 8554682 into a1baecb
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Mar 30, 2021
2 parents a1baecb + 8554682 commit 749a99a
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 345 deletions.
3 changes: 2 additions & 1 deletion components/descriptions/Cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const Cell: React.FC<CellProps> = ({
style={style}
colSpan={span}
>
{notEmpty(label) ? label : content}
{notEmpty(label) && <span style={labelStyle}>{label}</span>}
{notEmpty(content) && <span style={contentStyle}>{content}</span>}
</Component>
);
}
Expand Down

0 comments on commit 749a99a

Please sign in to comment.