Skip to content

Commit

Permalink
fix(app marketplace): fix truncated images (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
lavanya-bmw authored Dec 11, 2024
1 parent ccc0266 commit 5dee0be
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function FavoriteSection() {
const dispatch = useDispatch<AppDispatch>()
const active = useFetchActiveAppsQuery().data ?? []
const favorites = useSelector(itemsSelector)
const favoriteSectionPosition = favorites.length === 0 ? 30 : 45
const favoriteSectionPosition = favorites.length === 0 ? 30 : 35

useEffect(() => {
dispatch(fetchItems())
Expand All @@ -46,7 +46,7 @@ export default function FavoriteSection() {
<Box
sx={{
position: 'absolute',
top: '100px',
top: '50px',
right: `${favoriteSectionPosition}px !important`,
}}
>
Expand All @@ -55,8 +55,8 @@ export default function FavoriteSection() {
) : (
<CarouselBox
title={t('content.appstore.favoriteSection.myFavorite')}
itemWidth={266}
itemHeight={225}
itemWidth={270}
itemHeight={250}
backgroundColor={'rgba(255, 255, 255, 0.2)'}
hasBorder={false}
>
Expand Down

0 comments on commit 5dee0be

Please sign in to comment.