css - 是否支持 Microsoft bot 框架聊天窗口中的圆 Angular 边框

标签 css botframework

Microsoft bot 框架是否支持样式化边框 Angular 我已经尝试过了

    const styleSet = window.WebChat.createStyleSet({
  botAvatarImage: '/assets/logo.png',
  bubbleBackground: '#9b9c94',
  bubbleBorderTopLeftRadius:'20px',
  bubbleFromUserBackground: '#38b349',
  backgroundColor: 'white',
});

但还是没有,所以我想知道是不是 Web 聊天窗口不支持它,还是我打错了。我想围绕我的聊天框的 3 个 Angular 而不是第四个 Angular ,我知道 borderRadius 有效但不明白为什么这不起作用。

最佳答案

bubbleBorderTopLeftRadius 未在 Webchat 可能选项中定义。请参阅开源存储库:https://github.com/microsoft/BotFramework-WebChat/blob/master/packages/component/src/Styles/defaultStyleOptions.js

您可以向存储库贡献代码以添加此功能

关于css - 是否支持 Microsoft bot 框架聊天窗口中的圆 Angular 边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56792648/

相关文章:

html - 是什么导致这些按钮出现这种神秘的垂直偏移?

azure - Bot 服务迁移 - 'failed to find any Azure subscriptions for the current user.' 错误消息

c# - 使用 Mac Bot Framework 模拟器的空白登录窗口

c# - 快速连续向机器人发送多条消息使其崩溃

javascript - CSS - 在单击之前向上滑动一个不可见的 div

html - 如何在 chrome 扩展中包含 HTML 和 CSS 文件?

html - 将图像叠加到CSS中的div

html - 动画在 mozilla 中不起作用

node.js - Node.js 的多项选择提示

node.js - 自适应卡 : how to use in Node. js