Skip to content

Commit

Permalink
issue wv-190 fixed photo resolution on ballot page
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisa Primeaux-Redmond committed Jan 11, 2024
1 parent b3f64c3 commit 5b60da2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/js/components/Ballot/OfficeItemCompressed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class OfficeItemCompressed extends Component {
<ImageHandler
className={avatarCompressed}
sizeClassName="icon-candidate-small u-push--sm "
imageUrl={oneCandidate.candidate_photo_url_medium}
imageUrl={oneCandidate.candidate_photo_url_large}
alt=""
kind_of_ballot_item="CANDIDATE"
style={{ backgroundImage: { avatarBackgroundImage } }}
Expand Down
4 changes: 2 additions & 2 deletions src/js/components/Ballot/PositionRowLogoAndText.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ class PositionRowLogoAndText extends Component {
<OrganizationOverlayOuterWrapper>
<OrganizationPhotoOuterWrapper onClick={() => this.onClickShowPositionDrawer(ballotItemWeVoteId, organizationWeVoteId)}>
<OrganizationPhotoInnerWrapper>
{ position.speaker_image_url_https_medium ? (
{ position.speaker_image_url_https_large ? (
<Suspense fallback={<></>}>
<ImageHandler
className="card-child__avatar"
sizeClassName="icon-lg"
imageUrl={position.speaker_image_url_https_medium}
imageUrl={position.speaker_image_url_https_large}
/>
</Suspense>
) : (
Expand Down

0 comments on commit 5b60da2

Please sign in to comment.