Skip to content

Commit

Permalink
Merge pull request #1004 from culturecreates/bugfix/issue-955
Browse files Browse the repository at this point in the history
fix: closes #955. fixed issue with stretched
  • Loading branch information
AbhishekPAnil authored Feb 29, 2024
2 parents 870b33a + 49229f6 commit 20108b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/components/List/ListItem.jsx/ListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { LinkOutlined } from '@ant-design/icons';
import moment from 'moment-timezone';
import i18n from 'i18next';
import Username from '../../Username/Username';

import ArtsDataLink from '../../Tags/ArtsDataLink/ArtsDataLink';

function ListItem(props) {
Expand Down Expand Up @@ -45,7 +44,7 @@ function ListItem(props) {
<img
src={logo}
className="event-list-image"
style={{ height: '40px', width: '40px' }}
style={{ height: '40px', width: '40px', objectFit: 'cover' }}
data-cy="image-entity-logo"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function OrganizationsReadOnly() {
src={organizationData?.logo?.original?.uri}
alt="avatar"
style={{
objectFit: 'cover',
objectFit: 'contain',
width: '151px',
height: '151px',
}}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Dashboard/PersonReadOnly/PersonReadOnly.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ function PersonReadOnly() {
style={{
width: '151px',
height: '151px',
objectFit: 'cover',
objectFit: 'contain',
}}
data-cy="image-person-original"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Dashboard/PlaceReadOnly/PlaceReadOnly.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function PlaceReadOnly() {
style={{
width: '151px',
height: '151px',
objectFit: 'cover',
objectFit: 'contain',
}}
/>
</div>
Expand Down

0 comments on commit 20108b0

Please sign in to comment.