-
Notifications
You must be signed in to change notification settings - Fork 138
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
fix(pro:tree): tree content horizontal padding #1466
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ | |
@pro-tree-header-wrapper-icon-font-size: @font-size-lg; | ||
@pro-tree-header-wrapper-icon-hover-color: @color-primary; | ||
@pro-tree-header-wrapper-height: 38px; | ||
@pro-tree-content-horizontal-spacing: 12px; | ||
@pro-tree-content-vertical-spacing: 0; | ||
|
||
@pro-tree-divider-horizontal-spacing: @pro-tree-header-search-wrapper-horizontal-spacing; | ||
@pro-tree-divider-vertical-spacing: 8px; | ||
@pro-tree-node-padding: 0 0 0 8px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. with the code review.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with a brief code review
This code patch appears to add padding to the tree-prefix class. This should help improve its visual appeal by adding some spacing between elements. It also appears that this change is consistent with other elements that use the same classes.
However, it is important to ensure that this change does not negatively affect any existing features or functionality. To do this, a thorough testing should be performed to make sure that the padding does not cause any unexpected behaviour or bugs.
It is also recommended to check if this padding could be improved further. For example, is it possible to use a more flexible, adaptive padding? Could the padding be adjusted for different resolutions and devices? These are some of the questions that should be asked when doing a code review.