aboutsummaryrefslogtreecommitdiff
path: root/app/components/plan-node/plan-node.html
diff options
context:
space:
mode:
authorAlex Tatiyants <atatiyan@gmail.com>2016-01-07 08:52:03 -0800
committerAlex Tatiyants <atatiyan@gmail.com>2016-01-07 08:52:03 -0800
commitb07f0a403237e46fe0176a2e6a30bc1636322a7b (patch)
tree491091252489f2a82fa3daa4d7ac6501525d3e40 /app/components/plan-node/plan-node.html
parent4f14eab969c33e506f6a5692392fb8fcf4e83df1 (diff)
bar display tweaks
Diffstat (limited to 'app/components/plan-node/plan-node.html')
-rw-r--r--app/components/plan-node/plan-node.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/plan-node/plan-node.html b/app/components/plan-node/plan-node.html
index 55809ca..1b53c9c 100644
--- a/app/components/plan-node/plan-node.html
+++ b/app/components/plan-node/plan-node.html
@@ -38,8 +38,8 @@
</div>
<div *ngIf="currentHighlightType !== highlightTypes.NONE">
- <div class="node-bar-container" [style.width]="(MAX_WIDTH)+'px'">
- <span class="node-bar" [style.width]="width+'px'" [style.backgroundColor]="backgroundColor"></span>
+ <div class="node-bar-container">
+ <span class="node-bar" [style.width]="barWidth+'px'" [style.backgroundColor]="backgroundColor"></span>
</div>
<span class="node-bar-label">
<span class="text-muted">{{viewOptions.highlightType}}:</span> {{highlightValue | number:'.0-2'}}