fix fileCard title spacing

This commit is contained in:
Sean Yesmunt 2018-07-25 14:37:51 -04:00
parent 1a51628905
commit 87f8988faa
2 changed files with 5 additions and 1 deletions

View file

@ -93,7 +93,7 @@ class FileCard extends React.PureComponent<Props> {
> >
<CardMedia thumbnail={thumbnail} /> <CardMedia thumbnail={thumbnail} />
<div className="card__title-identity"> <div className="card__title-identity">
<div className="card__title--small"> <div className="card__title--small card__title--file-card">
<TruncatedText lines={3}>{title}</TruncatedText> <TruncatedText lines={3}>{title}</TruncatedText>
</div> </div>
<div className="card__subtitle"> <div className="card__subtitle">

View file

@ -134,6 +134,10 @@
font-size: 18px; font-size: 18px;
} }
.card__title--file-card {
padding-top: $spacing-vertical * 1/3;
}
.card__subtitle { .card__subtitle {
margin: 0; margin: 0;
font-size: 14px; font-size: 14px;