mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
Add figure with media-left for CardColumnSmall.tsx as well as fa-fw tag for constant width
This commit is contained in:
@@ -62,11 +62,15 @@ const StyledLink = styled(Link)`
|
||||
}
|
||||
`;
|
||||
|
||||
const IconWrapper = styled.figure`
|
||||
margin-right: 0.5rem;
|
||||
`;
|
||||
|
||||
const CardColumnSmall: FC<Props> = ({ link, icon, contentLeft, contentRight, footer }) => {
|
||||
return (
|
||||
<StyledLink to={link}>
|
||||
<div className="media">
|
||||
{icon}
|
||||
<IconWrapper className="media-left">{icon}</IconWrapper>
|
||||
<FlexFullHeight className={classNames("media-content", "text-box", "is-flex")}>
|
||||
<CenteredItems className="is-flex">
|
||||
<ContentLeft>{contentLeft}</ContentLeft>
|
||||
|
||||
Reference in New Issue
Block a user