File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,10 @@ const TopBarPicker = (props: TopBarPickerProps) => {
110110 // portal is necessary to avoid the menu popover getting its own after:
111111 // separator thing
112112 < DropdownMenu . Portal >
113- < DropdownMenu . Content className = "mt-2 min-w-[12.8125rem]" align = "start" >
113+ < DropdownMenu . Content
114+ className = "mt-2 max-h-80 min-w-[12.8125rem] overflow-y-auto"
115+ align = "start"
116+ >
114117 { props . items . length > 0 ? (
115118 props . items . map ( ( { label, to } ) => {
116119 const isSelected = props . current === label
@@ -232,7 +235,7 @@ const NoProjectLogo = () => (
232235)
233236
234237export function ProjectPicker ( { project } : { project ?: Project } ) {
235- const { data : projects } = useApiQuery ( 'projectList' , { query : { limit : 20 } } )
238+ const { data : projects } = useApiQuery ( 'projectList' , { query : { limit : 200 } } )
236239 const items = ( projects ?. items || [ ] ) . map ( ( { name } ) => ( {
237240 label : name ,
238241 to : pb . instances ( { project : name } ) ,
You can’t perform that action at this time.
0 commit comments