small ui fixes

This commit is contained in:
Nate 2025-03-25 12:09:19 -07:00
parent ca5c821375
commit 8807141736
2 changed files with 4 additions and 4 deletions

View file

@ -67,22 +67,21 @@ export const StyledListboxOptions = styled(ListboxOptions)`
position: absolute;
top: 100%;
left: 0;
right: 0;
margin-top: 0.25rem;
height: fit-content;
max-height: 15rem;
overflow: auto;
width: 60%;
border-radius: ${defaultBorderRadius};
overflow-y: scroll;
overflow-y: auto;
z-index: 10;
&:focus {
outline: none;
}
`;
export const StyledListboxOption = styled(ListboxOption)<{
selected: boolean;
}>`

View file

@ -53,6 +53,7 @@ const ListboxOptions = React.forwardRef<HTMLUListElement, ListboxOptionsProps>(
border: `1px solid ${vscCommandCenterInactiveBorder}`,
fontSize,
borderRadius: defaultBorderRadius,
zIndex: 1000,
...props.style,
}}
/>