fix: show cancel button on left pane resize (#14531)

This commit is contained in:
Arsalan Yaldram 2022-06-23 23:42:24 +05:30 committed by GitHub
parent 932ff31a68
commit 130451ade0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -156,7 +156,7 @@ export const EntityExplorerSidebar = memo((props: Props) => {
>
{/* SIDEBAR */}
<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}
style={{ width: props.width }}
>

View File

@ -55,10 +55,10 @@ export const ExplorerSearch = forwardRef(
>
<div
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
autoComplete="off"
autoFocus
@ -72,7 +72,7 @@ export const ExplorerSearch = forwardRef(
type="text"
/>
{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" />
</button>
)}