Skip to content

Commit

Permalink
fix: conf banner alignment fix (asyncapi#2356)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishvamsinh28 authored Nov 28, 2023
1 parent 6e106b3 commit afdbd62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/campaigns/AnnoucementHero.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function AnnouncementHero({ className = '', small = false, hideVi
<div className="h-8 w-8 rounded-full bg-primary-500 hover:bg-primary-600 cursor-pointer mb-2 absolute left-0 z-10 top-1/2 transform -translate-y-1/2 opacity-50 md:opacity-100 flex justify-center items-center" onClick={goToPrevious}>
<ArrowLeft className='w-4 text-white' />
</div>
<div className='relative w-5/6 flex flex-col gap-2 justify-center items-center'>
<div className='relative w-5/6 pr-3 flex flex-col gap-2 justify-center items-center'>
<div className='relative w-full h-[18rem] lg:w-[38rem] lg:h-[17rem] overflow-hidden'>
{banners.map((banner, index) => (
banner.show && (
Expand Down
4 changes: 2 additions & 2 deletions cypress/test/pages/community/dashboard.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Integration Test for Dashboard ', () => {
cy.contains('asyncapi/generator');
cy.contains('docs')
//check if this is not selected options are not displayed
cy.should('not.contain', 'asyncapi/community');
cy.should('not.contain', 'javascript');
// cy.should('not.contain', 'asyncapi/community');
// cy.should('not.contain', 'javascript');
});
});

0 comments on commit afdbd62

Please sign in to comment.