Botframework - 调整机器人聊天的宽度[重复]

2024-01-04

Is it possible to resize the width of the chat for botframework ? Currently I'm testing on a emulator. Basically I want make my bot chat wider to the right. As you can see in the picture, the chat width remain the same despite me increasing the size of the columns, add more columns, and so on. Currently using adaptive card. enter image description here


如果您使用 iframe 嵌入,则可以通过添加内联样式来编辑 iframe HTML 元素的宽度:

<div id="bot">
<iframe src="https://webchat.botframework.com/embed/..." 
        style="height: 600px; width: 500px; resize: both;">
</iframe>

或者,如果您想要更好的控制,您可以直接编辑 Web Chat 源代码的样式 -

自定义网络聊天 https://blog.botframework.com/2017/10/11/customize-web-chat-websites/

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Botframework - 调整机器人聊天的宽度[重复] 的相关文章

随机推荐