搜索结果支持滚动条
This commit is contained in:
parent
f98173fbb9
commit
6ff4e44152
|
@ -6,7 +6,7 @@ import Axios from 'axios';
|
||||||
import SearchBox from '../../src/components/SearchBox';
|
import SearchBox from '../../src/components/SearchBox';
|
||||||
|
|
||||||
export default class DocSearch extends React.Component {
|
export default class DocSearch extends React.Component {
|
||||||
docs;
|
docs = [];
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
|
|
|
@ -714,6 +714,11 @@ a {
|
||||||
|
|
||||||
.search-result {
|
.search-result {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
top: 45px;
|
||||||
|
bottom: 0;
|
||||||
|
position: fixed;
|
||||||
|
overflow-y: scroll;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
|
|
Loading…
Reference in New Issue