Skip to content

Commit fa4e032

Browse files
UI Bug fix ( #17142)
1 parent d9a3ac6 commit fa4e032

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

App/frontend-app/src/components/documentViewer/documentViewer.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ const useStyles = makeStyles({
4141
...shorthands.padding("0px", "0px"),
4242
rowGap: "20px",
4343
},
44+
45+
aiKnowledgeTab:{
46+
height:"calc(100vh - 150px) !important",
47+
overflow:"auto"
48+
}
4449
});
4550

4651
interface DocDialogProps {
@@ -284,14 +289,17 @@ export function DocDialog(
284289
)}
285290

286291
{selectedTab === "AI Knowledge" && (
292+
<div className={`flex h-[150%] w-[200%] justify-between ${styles.aiKnowledgeTab}`}>
287293
<AIKnowledgeTab
288294
metadata={metadata?.keywords ? Object.fromEntries(
289295
Object.entries(metadata.keywords).map(([key, value]) => [
290296
key,
291297
Array.isArray(value) ? value : [value] // Ensure all values are arrays
292298
])
293299
) : {}}
300+
294301
/>
302+
</div>
295303
)}
296304

297305

0 commit comments

Comments
 (0)