didi / didi/LogicFlow

[Feature]: 使用自定义 React 节点时,渲染内容被 "div.custom-react-node-content" 包裹,高度未占满节点高度

Open
#1,877 3 comments 0 reactions 1 assignee Assigned to @boyongjiong View on GitHub
contribution welcome new feature react-node-reigstry status: todo vue-node-reigstry
Dominant language
TypeScript
Stars
11.7k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

### 背景&目的

建议为 div .custom-react-node-content 增加 heignt: 100% 属性,这样在做内容做自适应如 "居中" 等处理时更方便

![image](https://github.com/user-attachments/assets/5f686131-8323-43d5-8e06-5dacc77d828e)
---
---
![image](https://github.com/user-attachments/assets/81dafe7f-18d7-46a1-88f3-e0b352baef9e)
---
---
![image](https://github.com/user-attachments/assets/7ee36df9-cd73-444a-b5db-0e14df060564)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.