fix fileCard title spacing
This commit is contained in:
parent
1a51628905
commit
87f8988faa
2 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,7 @@ class FileCard extends React.PureComponent<Props> {
|
|||
>
|
||||
<CardMedia thumbnail={thumbnail} />
|
||||
<div className="card__title-identity">
|
||||
<div className="card__title--small">
|
||||
<div className="card__title--small card__title--file-card">
|
||||
<TruncatedText lines={3}>{title}</TruncatedText>
|
||||
</div>
|
||||
<div className="card__subtitle">
|
||||
|
|
|
@ -134,6 +134,10 @@
|
|||
font-size: 18px;
|
||||
}
|
||||
|
||||
.card__title--file-card {
|
||||
padding-top: $spacing-vertical * 1/3;
|
||||
}
|
||||
|
||||
.card__subtitle {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
|
|
Loading…
Reference in a new issue