更新时间:2023-11-19 08:27:22
如果您使用的是iframe嵌入,则可以通过添加以下样式来编辑iframe HTML元素的宽度:
If you are using the iframe embed, you can edit the width of the iframe HTML element by adding the style in-line:
<div id="bot">
<iframe src="https://webchat.botframework.com/embed/..."
style="height: 600px; width: 500px; resize: both;">
</iframe>
或者,如果您希望更好地控制,则可以直接将样式编辑为Web Chat源代码-
Alternatively, if you want greater control you can edit the styling directly to the Web Chat source code -