small ui fixes
This commit is contained in:
parent
ca5c821375
commit
8807141736
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}>`
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ const ListboxOptions = React.forwardRef<HTMLUListElement, ListboxOptionsProps>(
|
|||
border: `1px solid ${vscCommandCenterInactiveBorder}`,
|
||||
fontSize,
|
||||
borderRadius: defaultBorderRadius,
|
||||
zIndex: 1000,
|
||||
...props.style,
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue