Skip to content

Commit

Permalink
Merge pull request #2441 from ever-co/2401-bug-team-selector-collapse…
Browse files Browse the repository at this point in the history
…-does-not-work

[2401]: dropdown height make contain
  • Loading branch information
evereq authored Apr 29, 2024
2 parents 9a44158 + fd17d1c commit a4f6493
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/lib/components/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function Dropdown<T extends DropdownItem>({
</div>

{loading ? (
<div className="h-[20px] w-[20px]">
<div className="h-5 w-5">
<SpinnerLoader size={20} variant="primary" className="w-full h-full" />
</div>
) : !publicTeam ? (
Expand Down Expand Up @@ -100,7 +100,7 @@ export function Dropdown<T extends DropdownItem>({
<Card
shadow="custom"
className={clsxm(
' md:px-4 py-4 rounded-x dark:bg-[#1B1D22] dark:border-[0.125rem] border-[#0000001A] dark:border-[#26272C]',
'md:px-4 py-4 rounded-x dark:bg-[#1B1D22] dark:border-[0.125rem] border-[#0000001A] dark:border-[#26272C]',
searchBar && 'w-96'
)}
style={{ boxShadow: '0px 14px 39px rgba(0, 0, 0, 0.12)' }}
Expand All @@ -115,7 +115,7 @@ export function Dropdown<T extends DropdownItem>({
</div>
)}
<ScrollArea>
<section className={'h-96 min-w-[100px] '}>
<section className={'min-w-[100px]'}>
{items.map((Item, index) => (
<Listbox.Option
key={Item.key ? Item.key : index}
Expand Down

0 comments on commit a4f6493

Please sign in to comment.