mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(devtools): set proper height of the tree nodes
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
::ng-deep {
|
||||
as-split {
|
||||
&.space-for-bread-crumbs {
|
||||
height: calc(100% - 25px);
|
||||
height: calc(100% - 33px);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@
|
||||
|
||||
.tree-wrapper {
|
||||
overflow-y: auto;
|
||||
height: calc(100% - 25px);
|
||||
height: calc(100% - 33px);
|
||||
}
|
||||
|
||||
.angular-element {
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ export class DirectiveForestComponent implements OnInit, OnDestroy {
|
||||
(node) => node.expandable
|
||||
);
|
||||
readonly dataSource = new ComponentDataSource(this.treeControl);
|
||||
readonly itemHeight = 24;
|
||||
readonly itemHeight = 18;
|
||||
|
||||
private _initialized = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user