diff --git a/changelog.md b/changelog.md index b769f61be15b6ffb0c776c454069be4dea0f7698..ddbca8226bdfed4758d54a19911d401a97350e32 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## 1.0.17(2023-05-29) +- 新增 显示代码行号 +- 修复 代码块显示样式错误的问题 +- 修复 部分情况下广告位不能正确显示的问题 ## 1.0.16(2023-05-26) - 更新 默认不启用(注释掉)广告组件`uni-ad-rewarded-video` ## 1.0.15(2023-05-26) diff --git a/components/uni-ai-msg/uni-ai-msg.scss b/components/uni-ai-msg/uni-ai-msg.scss index 9546b0d43cf458434539da668aab8702fff74e9e..229b783ee38fb290dcd59dfb0a30a097e6640255 100644 --- a/components/uni-ai-msg/uni-ai-msg.scss +++ b/components/uni-ai-msg/uni-ai-msg.scss @@ -1,6 +1,9 @@ @import "@/lib/highlight/github-dark.min.css"; -/* #ifndef APP-NVUE */ +/* #ifndef APP-NVUE */ +.rich-text-box { + max-width: 100%; +} .rich-text-box ::v-deep pre.hljs { padding: 5px 8px; margin: 5px 0; diff --git a/components/uni-ai-msg/uni-ai-msg.vue b/components/uni-ai-msg/uni-ai-msg.vue index fadb0d91f94991509ef42ad5f3377051c429555c..22751cd2fcc5e7befae44e115a1ddb478dfd195f 100644 --- a/components/uni-ai-msg/uni-ai-msg.vue +++ b/components/uni-ai-msg/uni-ai-msg.vue @@ -1,52 +1,51 @@ -