forked from p96170835/amis
一些小问题
This commit is contained in:
parent
2a11382ab4
commit
bda8cb5e96
|
@ -45,7 +45,7 @@ npm run coverage
|
|||
|
||||
## 如何贡献
|
||||
|
||||
请采用 typescript 编写,所有合理的改动、新的公用渲染器、用率或者文档的提交都会被接收。
|
||||
请采用 typescript 编写,所有合理的改动、新的公用渲染器、用例或者文档的提交都会被接收。
|
||||
|
||||
## 维护者
|
||||
|
||||
|
|
|
@ -712,7 +712,7 @@ export class App extends React.PureComponent {
|
|||
)}
|
||||
</div>
|
||||
|
||||
<DocSearch />
|
||||
<DocSearch theme={this.state.theme.value} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -41,7 +41,7 @@ export default class DocSearch extends React.Component {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<FormComponent showCode={false} />
|
||||
<FormComponent showCode={false} theme={this.props.theme} />
|
||||
);
|
||||
}
|
||||
}
|
|
@ -82,8 +82,8 @@
|
|||
position: relative;
|
||||
|
||||
svg {
|
||||
width: px2rem(20px);
|
||||
height: px2rem(20px);
|
||||
width: px2rem(12px);
|
||||
height: px2rem(12px);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
|
|
@ -238,7 +238,7 @@ export default class NestedSelectControl extends React.Component<NestedSelectPro
|
|||
onClick={this.handleOptionClick.bind(this, option)}
|
||||
>
|
||||
<span>{option.label}</span>
|
||||
{option.children ? (<span className={cx('NestedSelect-arrowZone')}><span className={cx('NestedSelect-optionArrowRight')}></span></span>) : null}
|
||||
{option.children ? (<div className={cx('NestedSelect-optionArrowRight')}>{rightArrowIcon}</div>) : null}
|
||||
{option.children && option.children.length ? this.renderOptions(option.children, true, false) : null}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue