File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
App/frontend-app/src/components/documentViewer Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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
4651interface 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
You can’t perform that action at this time.
0 commit comments