Eliminate CLS in Recommended due to wrapper mismatch
Seem like `type === small` was missed out, so it was using a wrapper than necessary, causing the shift.
This commit is contained in:
parent
c62c667436
commit
7a8d213861
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ function ClaimPreviewLoading(props: Props) {
|
|||
className={classnames('claim-preview__wrapper', {
|
||||
'claim-preview__wrapper--channel': isChannel && type !== 'inline',
|
||||
'claim-preview__wrapper--inline': type === 'inline',
|
||||
'claim-preview__wrapper--small': type === 'small',
|
||||
})}
|
||||
>
|
||||
<div className={classnames('claim-preview', { 'claim-preview--large': type === 'large' })}>
|
||||
|
|
Loading…
Reference in a new issue