1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 06:11:16 +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); super(props);
this.state = { this.state = {
value: props.value, value: props.value,
isLoading: true, isLoading: false,
answeringResult: '', answeringResult: '',
hitFiles: [], hitFiles: [],
}; };

View File

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