StatusBar: prevent sigil flexing offscreen

This commit is contained in:
Matilde Park 2021-02-11 20:34:34 -05:00
parent b99ca963c0
commit e868ea2db2
2 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export function Dropdown(props: DropdownProps) {
});
return (
<Box flexShrink={1} position={open ? "relative" : "static"} minWidth='0' width={props?.width ? props.width : 'auto'}>
<Box flexShrink={props?.flexShrink ? props.flexShrink : 1} position={open ? "relative" : "static"} minWidth='0' width={props?.width ? props.width : 'auto'}>
<ClickBox width='100%' ref={anchorRef} onClick={onOpen}>
{children}
</ClickBox>

View File

@ -107,6 +107,7 @@ const StatusBar = (props) => {
width="auto"
alignY="top"
alignX="right"
flexShrink={0}
options={
<Col
mt='6'