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