mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:18:16 +08:00
搜索结果支持滚动条
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
Block a user