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';
|
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