浏览代码

docs: update spin Faq

林艳 2 月之前
父节点
当前提交
98040fc80b
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 2 2
      content/feedback/spin/index-en-US.md
  2. 0 2
      content/feedback/spin/index.md

+ 2 - 2
content/feedback/spin/index-en-US.md

@@ -172,10 +172,10 @@ import { Spin, Button } from '@douyinfe/semi-ui';
 
 
 -   **How to modify the color of the spin icon? **
 -   **How to modify the color of the spin icon? **
 
 
-    You can overwrite the original color by adding a color property to the .semi-spin-wrapper class.
+    You can override the original color by adding the color property to the .semi-spin-wrapper class (it is recommended to override with a higher weight).
 
 
     ```
     ```
-    .semi-spin-wrapper {
+    .custom .semi-spin-wrapper {
       color: red;
       color: red;
     }
     }
     ```
     ```

+ 0 - 2
content/feedback/spin/index.md

@@ -150,8 +150,6 @@ import { Spin, Button } from '@douyinfe/semi-ui';
     可以通过给 .semi-spin-wrapper 类添加 color 属性覆盖原有的颜色(推荐以更高权重覆盖)
     可以通过给 .semi-spin-wrapper 类添加 color 属性覆盖原有的颜色(推荐以更高权重覆盖)
 
 
     ```
     ```
-    <Spin classname='custom' />
-    
     .custom .semi-spin-wrapper {
     .custom .semi-spin-wrapper {
       color: red;
       color: red;
     }
     }