Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
class window.ContributorsMasterGraph extends ContributorsGraph
constructor: (@data) ->
- if $(window).width() > 1214
- @width = 1100
- else
- @width = 870
-
+ @width = $('.container').width() - 70
@height = 200
@x = null
@y = null
class window.ContributorsAuthorGraph extends ContributorsGraph
constructor: (@data) ->
- if $(window).width() > 1214
- @width = 490
- else
- @width = 380
-
+ @width = $('.container').width()/2 - 100
@height = 200
@x = null
@y = null