Skip to content

Commit

Permalink
Added equal padding on active ads and completed ads section and added…
Browse files Browse the repository at this point in the history
… proper casing to completed ads section (#3362)
  • Loading branch information
yugal07 authored Jan 20, 2025
1 parent 0185646 commit e843b36
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Advertisements/Advertisements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ export default function advertisements(): JSX.Element {
)}
</InfiniteScroll>
</Tab>
<Tab eventKey="archievedAds" title={t('archievedAds')}>
<Tab
eventKey="archievedAds"
title={t('archievedAds')}
className="pt-4 m-2"
>
<InfiniteScroll
dataLength={advertisements?.length ?? 0}
next={loadMoreAdvertisements}
Expand Down Expand Up @@ -219,7 +223,7 @@ export default function advertisements(): JSX.Element {
(ad: Ad) => new Date(ad.endDate) < new Date(),
).length !== 0 && (
<div className={'w-100 text-center my-4'}>
<h5 className="m-0 ">{t('endOfResults')}</h5>
<h5 className="m-0 ">{tCommon('endOfResults')}</h5>
</div>
)
}
Expand Down

0 comments on commit e843b36

Please sign in to comment.