File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const CommandList = forwardRef<
69
69
> ( ( { className, ...props } , ref ) => (
70
70
< CommandPrimitive . List
71
71
ref = { ref }
72
- className = { cn ( "max-h-[300px ] overflow-y-auto overflow-x-hidden" , className ) }
72
+ className = { cn ( "max-h-[340px ] overflow-y-auto overflow-x-hidden" , className ) }
73
73
{ ...props }
74
74
/>
75
75
) ) ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ const OrganizationsSettingsNavigation: FC<
117
117
< CommandList >
118
118
< CommandGroup className = "pb-2" >
119
119
{ organizations . length > 1 && (
120
- < >
120
+ < div className = "flex flex-col max-h-[260px] overflow-y-auto" >
121
121
{ organizations . map ( ( organization ) => (
122
122
< Link
123
123
key = { organization . id }
@@ -141,18 +141,22 @@ const OrganizationsSettingsNavigation: FC<
141
141
</ CommandItem >
142
142
</ Link >
143
143
) ) }
144
- < hr className = "h-px my-2 border-none bg-border -mx-2" />
145
- </ >
144
+ </ div >
146
145
) }
147
146
{ permissions . createOrganization && (
148
- < Button variant = "subtle" className = "w-full h-8" >
149
- < a
150
- href = "/organizations/new"
151
- className = "flex items-center gap-1 no-underline hover:text-content-primary visited:text-content-secondary"
152
- >
153
- < Plus /> Create Organization
154
- </ a >
155
- </ Button >
147
+ < >
148
+ { organizations . length > 1 && (
149
+ < hr className = "h-px my-2 border-none bg-border -mx-2" />
150
+ ) }
151
+ < Button variant = "subtle" className = "w-full h-8" >
152
+ < a
153
+ href = "/organizations/new"
154
+ className = "flex items-center gap-1 no-underline hover:text-content-primary visited:text-content-secondary"
155
+ >
156
+ < Plus /> Create Organization
157
+ </ a >
158
+ </ Button >
159
+ </ >
156
160
) }
157
161
</ CommandGroup >
158
162
</ CommandList >
You can’t perform that action at this time.
0 commit comments