1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

fix ai-search loading bug

This commit is contained in:
Michael An
2024-01-12 16:02:53 +08:00
parent 731577db98
commit bf882ecca4
5 changed files with 15 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ export default class AISearchAsk extends Component {
super(props);
this.state = {
value: props.value,
isLoading: true,
isLoading: false,
answeringResult: '',
hitFiles: [],
};

View File

@@ -1,6 +1,7 @@
.wiki-side-panel .panel-top {
background: #fff;
}
.wiki-side-nav {
flex:auto;
display:flex;
@@ -20,6 +21,7 @@
background-color: #f9f9f9;
margin-bottom: 0;
}
.heading-icon {
position: absolute;
right: 1rem;
@@ -27,14 +29,17 @@
color: #888;
font-size: 0.8125rem;
}
.wiki-pages-container {
flex: 1;
overflow: hidden;
padding-bottom: 10px;
}
.wiki-pages-container:hover {
overflow: auto;
}
.wiki-pages-container .tree-view {
margin-left: -10px;
margin-top: 14px;