ant-design / ant-design/pro-editor

[Bug] DraggablePanel下使用ant-design的Tree组件,Tree组件的字体变成了12px

Open
#192 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
247
Forks
28
PR merge metrics
No merged PRs in 30d

Description

### 💻 系统环境 | Operating System

Windows

### 🌐 浏览器 | Browser

Chrome

### 🐛 问题描述 | Bug Description

DraggablePanel下使用ant-design的Tree组件,Tree组件的字体变成了12px,没有使用ant-design本身设置的字体大小

ant-design 5

### 🚦 期望结果 | Expected Behavior

_No response_

### 📷 复现步骤 | Recurrence Steps

_No response_

### 📝 补充信息 | Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on Windows in Chrome with the ant-design 5 Tree component rendered inside DraggablePanel, then inspect the styles applied to the Tree text. Compare its computed font size with the normal ant-design Tree component; done means the nested Tree uses the intended ant-design font size.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.