Skip to content

Commit dc1e22f

Browse files
Merge pull request #348 from microsoft/PSL-Bug-17142
fix: Bug fix(#17142) - AIKnowledge tab scrolling issue
2 parents 7048337 + fa4e032 commit dc1e22f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Quick deploy
8888

8989
### Prerequisites
9090

91-
To use this solution accelerator, you will need access to an [Azure subscription](https://azure.microsoft.com/free/) with permission to create resource groups and resources. While not required, a prior understanding of Azure OpenAI, Azure AI Search, Azure AI Document Intelligence, Azure App Service, Azure Kubernetes Service, Azure Container Registry, Azure Blog Storage, Azure Queue Storage, and Azure Cosmos DB will be helpful.
91+
To use this solution accelerator, you will need access to an [Azure subscription](https://azure.microsoft.com/free/) with permission to create resource groups and resources. While not required, a prior understanding of Azure OpenAI, Azure AI Search, Azure AI Document Intelligence, Azure App Service, Azure Kubernetes Service, Azure Container Registry, Azure Blob Storage, Azure Queue Storage, and Azure Cosmos DB will be helpful.
9292

9393
For additional training and support, please see:
9494

@@ -129,7 +129,7 @@ Customer stories coming soon.
129129
Responsible AI Transparency FAQ
130130
</h2>
131131

132-
Please refer to [Transarency FAQ](./TRANSPARENCY_FAQ.md) for responsible AI transparency details of this solution accelerator.
132+
Please refer to [Transparency FAQ](./TRANSPARENCY_FAQ.md) for responsible AI transparency details of this solution accelerator.
133133

134134
<br/>
135135

0 commit comments

Comments
 (0)