legend.ts
9.63 KB
-
legend: fixes Firefox/baron scroll bug · 50026fad
Compensates for Firefox scrollbar calculation error in the baron framework. Offsetwidth and clientwidth are used to find the width of the scrollbar. In the legend these differ by 9px and cause the scroll div to grow by 9px for every refresh. This fix compensates with a negative margin-right in that case. Fixes #11830
Daniel Lee committed