Add missing gallery card classes (#2654)

This commit is contained in:
WithoutPants 2022-06-08 08:58:25 +10:00 committed by GitHub
parent 803d865348
commit 3d52bad9bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,12 +167,16 @@ export const GalleryCard: React.FC<IProps> = (props) => {
}
overlays={maybeRenderSceneStudioOverlay()}
details={
<>
<span>{props.gallery.date}</span>
<div className="gallery-card__details">
<span className="gallery-card__date">{props.gallery.date}</span>
<p>
<TruncatedText text={props.gallery.details} lineCount={3} />
<TruncatedText
className="gallery-card__description"
text={props.gallery.details}
lineCount={3}
/>
</p>
</>
</div>
}
popovers={maybeRenderPopoverButtonGroup()}
selected={props.selected}