This commit is contained in:
Geido
2021-07-16 00:26:00 +02:00
committed by GitHub
parent 7dd3af6dda
commit 625468c56a

View File

@@ -97,17 +97,18 @@ const TitleContainer = styled.div`
`;
const TitleLink = styled.span`
max-width: 50%;
overflow: hidden;
text-overflow: ellipsis;
& a {
color: ${({ theme }) => theme.colors.grayscale.dark1} !important;
overflow: hidden;
text-overflow: ellipsis;
& + .title-right {
margin-left: ${({ theme }) => theme.gridUnit * 2}px;
}
}
`;
const TitleRight = styled.span`
margin-left: ${({ theme }) => theme.gridUnit * 2}px;
`;
const CoverFooter = styled.div`
display: flex;
flex-wrap: nowrap;
@@ -246,7 +247,7 @@ function ListViewCard({
<Link to={url!}>{title}</Link>
</TitleLink>
</Tooltip>
{titleRight && <div className="title-right"> {titleRight}</div>}
{titleRight && <TitleRight>{titleRight}</TitleRight>}
<div className="card-actions" data-test="card-actions">
{actions}
</div>