forked from p96170835/amis
更新 gh-pages
This commit is contained in:
parent
e9700325dc
commit
0bace54057
|
@ -26,7 +26,7 @@
|
|||
<div id="root" class="app-wrapper"></div>
|
||||
<script src="/amis/pkg/npm_5eaeb69.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/examples/index.html_map_37d6d1e.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_08f28ee.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/app_8fe50c2.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rich-text_e6dc6f0.js"></script>
|
||||
<script type="text/javascript" src="/amis/pkg/rest_cf0b3d4.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -12,7 +12,7 @@
|
|||
"js_wait": 1,
|
||||
"use_anchors": true,
|
||||
"selectors": {
|
||||
"lvl0": ".markdown-body h1",
|
||||
"lvl0": ".markdown-body h1, .a-TitleBar .h3",
|
||||
"lvl1": ".markdown-body h2",
|
||||
"lvl2": ".markdown-body h3",
|
||||
"lvl3": ".markdown-body h4",
|
||||
|
|
|
@ -30,7 +30,7 @@ export class TitleBar extends React.PureComponent<TitleBarProps, any> {
|
|||
};
|
||||
|
||||
render(): JSX.Element {
|
||||
const {className, title, titleClassName, right} = this.props;
|
||||
const {className, title, titleClassName, right, classnames: cx} = this.props;
|
||||
|
||||
let left = title ? <div className={titleClassName}>{title}</div> : null;
|
||||
|
||||
|
@ -47,7 +47,7 @@ export class TitleBar extends React.PureComponent<TitleBarProps, any> {
|
|||
body = <div className="wrapper">{left}</div>;
|
||||
}
|
||||
|
||||
return <div className={className}>{body}</div>;
|
||||
return <div className={cx(className, 'TitleBar')}>{body}</div>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue