tedsanders / betthebill

The best way to split a bill quickly and fairly
3 stars 0 forks source link

Right margin of svg sometimes disappears #20

Closed tedsanders closed 10 years ago

tedsanders commented 10 years ago

If the pie chart fits on the page, then svg has no right margin.

If the pie chart does not fit on the page, then svg has a right margin.

Wut?

tedsanders commented 10 years ago

Aha! When the vertical scrollbar appears, the normal content adjusts position but the pie chart does not. We need to rewrite the positioning of the pie chart to take the width of the vertical scrollbar into account.

tedsanders commented 10 years ago

It's quite likely that making the pie chart resize automatically on screen size changes will fix this issue too.

tedsanders commented 10 years ago

Pie chart resizes now, so this is fixed.