Skip to content

Commit

Permalink
fix: dropdown Description Text Overlapping Issue (asyncapi#2256) (asy…
Browse files Browse the repository at this point in the history
…ncapi#2257)

Co-authored-by: Akshat Nema <[email protected]>%0ACo-authored-by: akshatnema <[email protected]>
  • Loading branch information
Nishanth019 and akshatnema authored Oct 21, 2023
1 parent 6ba5386 commit d16b2d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/navigation/MenuBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export default function MenuBlocks ({
<div className={`flex-shrink-0 flex items-center justify-center h-10 w-10 rounded-lg ${item.className ? item.className : 'border border-gray-800 bg-secondary-100'} text-gray-900 sm:h-12 sm:w-12 ${item.comingSoon && 'opacity-50'}`} data-testid="MenuBlock-icon">
<item.icon className="h-6 w-6" />
</div>
<div className="space-y-1">
<div className="space-y-1 whitespace-pre-line">
<Paragraph typeStyle="body-md" textColor="text-gray-900" fontWeight="font-semibold">
<span className={item.comingSoon && 'opacity-50'} >{ item.title }</span> { item.comingSoon && <Label text="Coming soon" /> } { item.beta && <Label text="Beta" /> }
</Paragraph>
<Paragraph typeStyle="body-sm" className={item.comingSoon && 'opacity-50'}>
<Paragraph typeStyle="body-sm" className={`${item.comingSoon && 'opacity-50'}`}>
{item.description}
</Paragraph>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d16b2d7

Please sign in to comment.