Skip to content

Commit

Permalink
Show card provenance info for sets: fix #1852
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNisnevich committed May 15, 2023
1 parent 3d00580 commit e1d3927
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/common/components/cards/SetSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import ProfileLink from '../users/ProfileLink';

import { sortCards } from './utils';
import { SortCriteria } from './types.enums';
import CardProvenanceDescription from './CardProvenanceDescription';

interface SetSummaryBaseProps {
set: w.Set
Expand Down Expand Up @@ -192,6 +193,15 @@ class SetSummary extends React.Component<SetSummaryProps, SetSummaryState> {
scale: 0.7,
onCardClick: () => { this.handleClickCard(card); }
})}
<CardProvenanceDescription
card={card}
style={{
fontSize: 7.5,
color: '#888',
maxWidth: 100,
height: 27
}}
/>
</div>
))
}
Expand Down

0 comments on commit e1d3927

Please sign in to comment.