-
-
Notifications
You must be signed in to change notification settings - Fork 46.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style(tree-select): missing outer border in treeNode focus state #45267
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
lint 挂了 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #45267 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 694 694
Lines 11678 11688 +10
Branches 3120 3122 +2
=========================================
+ Hits 11678 11688 +10
☔ View full report in Codecov by Sentry. |
好,我改一下 |
这个问题没这么简单,上下的 outline 也会被 virtual list 遮住 |
横向应该调整 TreeSelect 的 padding |
好吧,闲夕大佬这个有 demo 或者相关的 issue 吗? |
好 |
link tree-list-outline.mov |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
@afc163 偏右大佬这个 pr 还需要在等等,我晚点把改动提交上来。 |
切草稿或加 |
好,受教了。 |
冲突了 |
ping |
Fixed in #46608 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #45265
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at b1b2b5c
This pull request enhances the style of the
tree-select
component by passing a parameter to the style functions incomponents/tree/style/index.ts
andcomponents/tree-select/style/index.ts
. This parameter controls the padding of the tree nodes depending on the component type.🔍 Walkthrough
🤖 Generated by Copilot at b1b2b5c
isTreeSelect
parameter togenBaseStyle
function to adjust tree node padding (link, link, link, link, link)isTreeSelect
value fromtree-select/style/index.ts
totree/style/index.ts
(link, link, link)