mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 07:06:41 +03:00
StatusBar: prevent sigil flexing offscreen
This commit is contained in:
parent
b99ca963c0
commit
e868ea2db2
@ -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>
|
||||
|
@ -107,6 +107,7 @@ const StatusBar = (props) => {
|
||||
width="auto"
|
||||
alignY="top"
|
||||
alignX="right"
|
||||
flexShrink={0}
|
||||
options={
|
||||
<Col
|
||||
mt='6'
|
||||
|
Loading…
Reference in New Issue
Block a user