format
This commit is contained in:
parent
93f91350eb
commit
ced7a5ee9f
1 changed files with 302 additions and 301 deletions
|
|
@ -148,7 +148,9 @@ function SearchPage() {
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center overflow-hidden w-full">
|
<div className="flex items-center overflow-hidden w-full">
|
||||||
<div
|
<div
|
||||||
className={`transition-opacity duration-200 ${isActive ? "w-0" : "w-7"}`}
|
className={`transition-opacity duration-200 ${
|
||||||
|
isActive ? "w-0" : "w-7"
|
||||||
|
}`}
|
||||||
></div>
|
></div>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|
@ -192,7 +194,8 @@ function SearchPage() {
|
||||||
{
|
{
|
||||||
field: "chunkCount",
|
field: "chunkCount",
|
||||||
headerName: "Chunks",
|
headerName: "Chunks",
|
||||||
valueFormatter: (params: CustomCellRendererProps<File>) => params.data?.chunkCount?.toString() || "-",
|
valueFormatter: (params: CustomCellRendererProps<File>) =>
|
||||||
|
params.data?.chunkCount?.toString() || "-",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "avgScore",
|
field: "avgScore",
|
||||||
|
|
@ -326,9 +329,7 @@ function SearchPage() {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<Search
|
<Search className="h-4 w-4 ml-1 flex-shrink-0 text-placeholder-foreground" />
|
||||||
className="h-4 w-4 ml-1 flex-shrink-0 text-placeholder-foreground"
|
|
||||||
/>
|
|
||||||
<input
|
<input
|
||||||
className="bg-transparent w-full h-full ml-2 focus:outline-none focus-visible:outline-none font-mono placeholder:font-mono"
|
className="bg-transparent w-full h-full ml-2 focus:outline-none focus-visible:outline-none font-mono placeholder:font-mono"
|
||||||
name="search-query"
|
name="search-query"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue