diff --git a/web/app/components/explore/banner/__tests__/banner-item.spec.tsx b/web/app/components/explore/banner/__tests__/banner-item.spec.tsx index f2b38ab0b94..721c24c95c7 100644 --- a/web/app/components/explore/banner/__tests__/banner-item.spec.tsx +++ b/web/app/components/explore/banner/__tests__/banner-item.spec.tsx @@ -346,7 +346,7 @@ describe('BannerItem', () => { expect(wrapper).toHaveClass('rounded-2xl') }) - it('keeps a fixed height even when text content is empty', () => { + it('keeps the desktop height even when text content is empty', () => { const banner = createMockBanner({ content: { 'category': '', @@ -359,7 +359,7 @@ describe('BannerItem', () => { const { container } = renderBannerItem(banner) const wrapper = container.firstChild as HTMLElement - expect(wrapper).toHaveClass('h-[184px]') + expect(wrapper).toHaveClass('xl:h-[184px]') }) }) }) diff --git a/web/app/components/explore/banner/banner-item.tsx b/web/app/components/explore/banner/banner-item.tsx index c4dbfa39119..e2f64b6a5d4 100644 --- a/web/app/components/explore/banner/banner-item.tsx +++ b/web/app/components/explore/banner/banner-item.tsx @@ -130,7 +130,7 @@ export function BannerItem({ return (