feat: Use Tree to display the knowledge base list on the search page #2247 (#2385)

### What problem does this PR solve?

feat: Use Tree to display the knowledge base list on the search page
#2247
### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-09-12 17:23:32 +08:00
committed by GitHub
parent f8e9a0590f
commit 68d0210e92
4 changed files with 134 additions and 60 deletions

View File

@ -27,6 +27,7 @@
.searchSide {
position: relative;
:global(.ant-layout-sider-children) {
height: auto;
}
@ -42,9 +43,12 @@
height: 100%;
}
.list {
padding-top: 10px;
width: 100%;
height: calc(100vh - 152px);
// height: 100%;
height: calc(100vh - 76px);
overflow: auto;
background-color: transparent;
&::-webkit-scrollbar-track {
background: transparent;
}
@ -53,7 +57,10 @@
width: 100%;
}
.knowledgeName {
width: 130px;
width: 116px;
}
.embeddingId {
width: 170px;
}
}