# HG changeset patch # User Chloe Laisne # Date 1472054181 -7200 # Node ID a2872152f5682dc7cbe7b67a6da4a0a23cc71363 # Parent 0e1880fa7bd3d57c51d9c31b4b1f2533f5eff599 /discours svg height diff -r 0e1880fa7bd3 -r a2872152f568 cms/app-client/app/components/discourses-component.js --- a/cms/app-client/app/components/discourses-component.js Wed Aug 24 17:48:50 2016 +0200 +++ b/cms/app-client/app/components/discourses-component.js Wed Aug 24 17:56:21 2016 +0200 @@ -23,7 +23,7 @@ var newMin = Math.floor((average - oldMin)), newMax = Math.floor((oldMax - average)); var width = self.$().parent().width(); - var height = self.$().parent().height() - self.$().siblings().height(); + var height = self.$().parent().height() - self.$().siblings().outerHeight(true); var bubble = d3.layout.pack() .sort(function comparator(a, b) { return a.value + b.value; })