|
@@ -106,7 +106,7 @@ function SearchBox(props: SearchBoxProps) {
|
|
|
ref={refBox}
|
|
|
>
|
|
|
{children && <div style={{ flexShrink: 1, marginRight: !show ? 20 : 0 }} >
|
|
|
- <div ref={ref} style={{ height: setHeight ? 'auto' : '35px', overflow: 'hidden', width: chiMinWidth !== -1 ? chiMinWidth : 'auto' }}>
|
|
|
+ <div ref={ref} style={{ height: setHeight ? 'auto' : '30px', overflow: 'hidden', width: chiMinWidth !== -1 ? chiMinWidth : 'auto' }}>
|
|
|
{
|
|
|
isCustom ? children: <Space wrap >
|
|
|
{children}
|
|
@@ -138,7 +138,7 @@ function SearchBox(props: SearchBoxProps) {
|
|
|
}
|
|
|
</div>
|
|
|
</div>}
|
|
|
- <div style={{ height: setHeight ? 'auto' : '35px', overflow: 'hidden', flexShrink: 1, display: 'flex', justifyContent: !show ? 'flex-start' : 'space-between', alignItems: 'flex-start', width: btnMinWidth === -1 ? 'auto' : btnMinWidth + 75 }} ref={refBtns}>
|
|
|
+ <div style={{ height: setHeight ? 'auto' : '30px', overflow: 'hidden', flexShrink: 1, display: 'flex', justifyContent: !show ? 'flex-start' : 'space-between', alignItems: 'flex-start', width: btnMinWidth === -1 ? 'auto' : btnMinWidth + 75 }} ref={refBtns}>
|
|
|
<div style={{ width: btnMinWidth === -1 ? 'auto' : btnMinWidth }}>
|
|
|
<Space wrap >
|
|
|
{buttons}
|