Browse Source

doc: update readme

node 5 years ago
parent
commit
a9a81541b1
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      README.md

+ 10
- 0
README.md View File

@@ -163,6 +163,16 @@ function main() {
163 163
 main();
164 164
 ```
165 165
 
166
+#### class 样式冲突
167
+
168
+`master` 分支的图片预览 `container` 样式和 boostrap 有冲突。在 [`fix/classname`](https://git.links123.net/node/npmcomment/src/branch/fix/classname) 分支对评论的样式名称做了修改,改为了 `comment-image-preview-container`。
169
+
170
+解决办法就是使用 [`fix/classname`](https://git.links123.net/node/npmcomment/src/branch/fix/classname) 分支中的静态文件:
171
+
172
+- css:
173
+- js:
174
+
175
+尝试过使用 CSS Module 进行修改,不过改造量较大,改动的过程中影响了其他样式,所以暂时放弃了。
166 176
 
167 177
 ## Comment
168 178