diff --git a/apps/web/src/app/app.tsx b/apps/web/src/app/app.tsx index 1cd6e4a66c3b9f44b5ac0a281696c273c28635ba..90a1046f66dfac82f32a2b3460d80a9cc7649215 100644 --- a/apps/web/src/app/app.tsx +++ b/apps/web/src/app/app.tsx @@ -77,15 +77,13 @@ export function App(props: App) { </aside> <main className="flex w-screen h-[calc(100%-4.2rem)]"> <Resizable divisorSize={3} horizontal={true} defaultProportion={0.33}> - <div className="h-full w-full"> - <DataViewer auth={authCheck} /> - </div> + <DataViewer auth={authCheck} /> <div className="h-full w-full"> <Resizable divisorSize={3} horizontal={false}> - <div className="w-full h-full panel"> + <div className="w-full h-full border"> <VisualizationPanel manager={manager} /> </div> - <div className="w-full h-full panel"> + <div className="w-full h-full border"> <QueryBuilder onRunQuery={runQuery} /> </div> </Resizable> diff --git a/libs/shared/lib/data-viewer/index.tsx b/libs/shared/lib/data-viewer/index.tsx index 4a4f384d4d396a39e938520e01c76fd823ca3b14..bf99a0abf4ac8d0c4ed2303cba9e22d3ab27f250 100644 --- a/libs/shared/lib/data-viewer/index.tsx +++ b/libs/shared/lib/data-viewer/index.tsx @@ -14,7 +14,7 @@ export default function DataViewer({ auth }: { auth: boolean }) { <div className="info-panel w-full h-full flex"> <TooltipProvider delayDuration={100}> <div className="w-12 flex flex-col items-center justify-between"> - <div> + <div className="flex flex-col items-center justify-between"> <Tooltip> <TooltipTrigger> <Button diff --git a/libs/shared/lib/data-viewer/search/similarity.ts b/libs/shared/lib/data-viewer/search/similarity.ts index a5714c0aa60c00d8045bf43790078d56f0a32ced..a6e0a9378a2917a27814806d1fd89d81d0f3183c 100644 --- a/libs/shared/lib/data-viewer/search/similarity.ts +++ b/libs/shared/lib/data-viewer/search/similarity.ts @@ -30,7 +30,7 @@ const matches = (query: string, object: Record<string, any>): number => { return highestScore; }; -const jaroSimilarity = (s1: string, s2: string) => { +export const jaroSimilarity = (s1: string, s2: string) => { if (s1 == s2) return 1.0; const len1 = s1.length;