减少角度材料树中的行高 [英] Reducing line height in angular material tree
本文介绍了减少角度材料树中的行高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用
解决方案
只需覆盖他们的 css:
.mat-tree-node { min-height: 30px }
I am using a angular tree material to display JSON data, I am unsatisfied by the amount of white spacing there is between lines. I have tried playing with mat-tree-node.line-height
in the css with zero changes. How can I reduce all this vertical white space?
解决方案
Simply by overriding their css:
.mat-tree-node { min-height: 30px }
这篇关于减少角度材料树中的行高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文