Skip to content

Commit

Permalink
docs: add FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Sep 14, 2024
1 parent 62d76d9 commit 5cc1417
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/badge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ isComponent: true

{{ size }}

## FAQ

### 如何处理由 ribbon 徽标溢出导致页面出现横向滚动?
角标溢出问题建议从父容器组件处理。如 <a href="https://github.com/Tencent/tdesign-miniprogram/issues/3063" title="如 #3063 " target="_blank" rel="noopener noreferrer"> #3063 </a>,可以给父容器 `cell` 组件添加 `overflow: hidden`,处理溢出造成页面出现横向滚动的问题。

## API

### Badge Props
Expand Down

0 comments on commit 5cc1417

Please sign in to comment.