Issue
mat tree changes direction from right to left. The bottom border needs to be removed refer to the Image
https://stackblitz.com/edit/material-tree-nested-sndfhl?file=app%2Fapp.component.css
Solution
When you open your tree items than your current css effecting, Please add below scss in styles.scss
mat-nested-tree-node{
&[aria-expanded="true"]{
& > li {
border-bottom: none;
}
}
}
or simply add below css in your component's .css
file
mat-nested-tree-node[aria-expanded="true"] > li {
border-bottom: none;
}
Answered By - Jignesh Panchal
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.