fix double card on related content
This commit is contained in:
parent
3b9f5c17f7
commit
acea7d75fb
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ export default function ClaimList(props: Props) {
|
||||||
{urisLength > 0 && (
|
{urisLength > 0 && (
|
||||||
<ul
|
<ul
|
||||||
className={classnames('ul--no-style', {
|
className={classnames('ul--no-style', {
|
||||||
card: !tileLayout,
|
card: !(tileLayout || type === 'small'),
|
||||||
'claim-list--card-body': tileLayout,
|
'claim-list--card-body': tileLayout,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default class extends React.PureComponent<Props> {
|
||||||
<div className="yrbl__wrap">
|
<div className="yrbl__wrap">
|
||||||
<img alt="Friendly gerbil" className={classnames('yrbl', className)} src={`${image}`} />
|
<img alt="Friendly gerbil" className={classnames('yrbl', className)} src={`${image}`} />
|
||||||
<div>
|
<div>
|
||||||
{title && subtitle && (
|
{(title || subtitle) && (
|
||||||
<div className="yrbl__content">
|
<div className="yrbl__content">
|
||||||
<h2 className="section__title">{title}</h2>
|
<h2 className="section__title">{title}</h2>
|
||||||
<p className="section__subtitle">{subtitle}</p>
|
<p className="section__subtitle">{subtitle}</p>
|
||||||
|
|
Loading…
Reference in a new issue