yt-chat-components 1.9.2 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "main": "build/static/js/bundle.min.js",
5
5
  "module": "build/static/js/bundle.min.js",
6
6
  "types": "build/static/js/index.d.ts",
@@ -479,6 +479,7 @@ export class ToolDialogV2 extends React.Component {
479
479
  isShowVoiceButton,
480
480
  footerStyle,
481
481
  isHideTabSelector,
482
+ dialogStyle
482
483
  } = this.props;
483
484
  const { currentFlow = {} } = this.state;
484
485
  return (
@@ -486,10 +487,10 @@ export class ToolDialogV2 extends React.Component {
486
487
  <style dangerouslySetInnerHTML={{ __html: style }}></style>
487
488
  <div className="p_toolDialog">
488
489
  {/*对话上边的学校标志,定位到左上角header上端*/}
489
- <div className={'p_sign'} >
490
+ <div className={'p_sign'} style={dialogStyle} >
490
491
  <img src={signUrl} style={{ width: 600, marginTop: '1.5rem', }}/>
491
492
  </div>
492
- <div className={"dialog_box"}>
493
+ <div className={"dialog_box"} style={dialogStyle}>
493
494
  <div className="p_toolLogo">
494
495
  <div style={{
495
496
  width: logoWidth,