Repository navigation
[AnalyticalTable] Tree table with hierachical data does not retain style on expand due to app level box-sizing: border-box #6366
|
I am using analytical table with tree view having hirarchiacal data. Not sure if exact cause but on investigating i found host application has used *{box-sizing: border-box} at root level and when toggling from devtools for this style, nested space shows up .. Another issue: since v1.26, an extra space is getting added to all columns in tree table and it is an element due to which text is not getting aligned from beigining ( TextAlign.Begin). It looks like centrally aligned even horizontally.
Attached stackbliz link with both issue shown: https://stackblitz.com/edit/github-3wiuce-kjl4sq?file=src%2FApp.tsx,src%2FTreeCell.tsx,src%2FuseData.ts |
Replies: 2 comments 2 replies
|
Hi @kmanisha29 supporting overriding the default For the indentation issue, I've added an answer here: #6368 |
|
The style in host app is actually : So any other element that needs content-box can add it and inherit for its child element. |




Hi @kmanisha29
we've discussed this topic internally and came to the conclusion that using a layer for our internal CSS should be the default.
This does not apply for the static bundles. In v2.2.0 we removed the layer from the generated classes again, so apps have now more control over the bundles. You can find out more about this here.