Skip to content

fix(components): [tree] revert inherits the label class#10812

Merged
xiaoxian521 merged 1 commit intodevfrom
fix/tree-node-content-style
Nov 29, 2022
Merged

fix(components): [tree] revert inherits the label class#10812
xiaoxian521 merged 1 commit intodevfrom
fix/tree-node-content-style

Conversation

@chenxch
Copy link
Member

@chenxch chenxch commented Nov 29, 2022

  • revert slot inherit style
  • Adjust the size style attribute to tree

close #10718
before:
image

after:
image

The size is extracted from the label to the tree, which should be a more reasonable solution.

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

* revert slot inherit style
* Adjust the size style attribute to tree
@github-actions
Copy link

github-actions bot commented Nov 29, 2022

@chenxch
Copy link
Member Author

chenxch commented Nov 29, 2022

/cc @xiaoxian521

@github-actions github-actions bot added the CommitMessage::Qualified Qualified commit message label Nov 29, 2022
@xiaoxian521 xiaoxian521 self-requested a review November 29, 2022 03:43
@github-actions
Copy link

🧪 Playground Preview: https://element-plus.run/?pr=10812
Please comment the example via this playground if needed.

@xiaoxian521 xiaoxian521 merged commit fd711d5 into dev Nov 29, 2022
@xiaoxian521 xiaoxian521 deleted the fix/tree-node-content-style branch November 29, 2022 03:54
@element-bot element-bot mentioned this pull request Dec 2, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CommitMessage::Qualified Qualified commit message

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Style] [tree] el-tree 自定义节点内容,官网文档上演示有问题

3 participants