mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 01:26:08 +10:00
Fix graph width on different screen sizes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ class @ContributorsGraph
|
||||
|
||||
class @ContributorsMasterGraph extends ContributorsGraph
|
||||
constructor: (@data) ->
|
||||
@width = $('.container').width() - 345
|
||||
@width = $('.content').width() - 70
|
||||
@height = 200
|
||||
@x = null
|
||||
@y = null
|
||||
@@ -123,7 +123,7 @@ class @ContributorsMasterGraph extends ContributorsGraph
|
||||
|
||||
class @ContributorsAuthorGraph extends ContributorsGraph
|
||||
constructor: (@data) ->
|
||||
@width = $('.container').width()/2 - 225
|
||||
@width = $('.content').width()/2 - 100
|
||||
@height = 200
|
||||
@x = null
|
||||
@y = null
|
||||
|
||||
Reference in New Issue
Block a user