Skip to content

Commit

Permalink
fix(chat): remove content top margin (Issue #2461) (#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derikyan authored Oct 29, 2024
1 parent 4717e49 commit 5d92782
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/chat/src/components/Marketplace/CardsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const CardsList = ({
{!!title && <h2 className="text-xl font-semibold">{t(title)}</h2>}

<div
className="mt-5 grid grid-cols-1 gap-4 sm:grid-cols-2 xl:mt-6 xl:grid-cols-3 xl:gap-5 2xl:grid-cols-4"
className="grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3 xl:gap-5 2xl:grid-cols-4"
data-qa="applications"
>
{entities.map((entity) => (
Expand Down
12 changes: 8 additions & 4 deletions apps/chat/src/components/Marketplace/TabRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,19 @@ const ResultsView = ({
/>
{!entities.length && (
<div className="flex items-center gap-1">
<Magnifier height={32} width={32} className="text-secondary" />
<span className="text-base">
<Magnifier
height={32}
width={32}
className="shrink-0 text-secondary"
/>
<span className="text-sm sm:text-base">
{t(
'No results found in My workspace. Look at suggested results from DIAL Marketplace.',
)}
</span>
</div>
)}
<span className="mt-5 text-xl">
<span className="mb-4 mt-5 text-xl md:mt-6 lg:mt-8">
{t('Suggested results from DIAL Marketplace')}
</span>
<CardsList
Expand Down Expand Up @@ -404,7 +408,7 @@ export const TabRenderer = ({ screenState }: TabRendererProps) => {

return (
<>
<header className="mb-6" data-qa="marketplace-header">
<header className="mb-5 md:mb-4 xl:mb-6" data-qa="marketplace-header">
<MarketplaceBanner />
<SearchHeader
items={displayedEntities.length}
Expand Down

0 comments on commit 5d92782

Please sign in to comment.