fix: show cancel button on left pane resize (#14531)
This commit is contained in:
parent
932ff31a68
commit
130451ade0
|
|
@ -156,7 +156,7 @@ export const EntityExplorerSidebar = memo((props: Props) => {
|
||||||
>
|
>
|
||||||
{/* SIDEBAR */}
|
{/* SIDEBAR */}
|
||||||
<div
|
<div
|
||||||
className="flex flex-col p-0 bg-white t--sidebar min-w-48 max-w-96 group"
|
className="flex flex-col p-0 bg-white t--sidebar min-w-52 max-w-96 group"
|
||||||
ref={sidebarRef}
|
ref={sidebarRef}
|
||||||
style={{ width: props.width }}
|
style={{ width: props.width }}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,10 @@ export const ExplorerSearch = forwardRef(
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={classNames({
|
className={classNames({
|
||||||
"flex px-3 items-center space-x-2": true,
|
"flex px-3 items-center": true,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<SearchIcon className="box-content w-3 h-3 p-1" />
|
<SearchIcon className="box-content w-3 h-3 mr-3" />
|
||||||
<input
|
<input
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoFocus
|
autoFocus
|
||||||
|
|
@ -72,7 +72,7 @@ export const ExplorerSearch = forwardRef(
|
||||||
type="text"
|
type="text"
|
||||||
/>
|
/>
|
||||||
{value && (
|
{value && (
|
||||||
<button className="p-1 hover:bg-trueGray-200" onClick={onClear}>
|
<button className="mr-1 hover:bg-trueGray-200" onClick={onClear}>
|
||||||
<CrossIcon className="w-3 h-3 text-trueGray-100" />
|
<CrossIcon className="w-3 h-3 text-trueGray-100" />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user