Skip to content
Snippets Groups Projects
Commit 2a073901 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Remove unnecessary title. Fix graphs width for less then 1214px resolution

parent c49dcbac
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -46,7 +46,11 @@ class window.ContributorsGraph
 
class window.ContributorsMasterGraph extends ContributorsGraph
constructor: (@data) ->
@width = 1100
if $(window).width() > 1214
@width = 1100
else
@width = 870
@height = 125
@x = null
@y = null
Loading
Loading
@@ -118,7 +122,11 @@ class window.ContributorsMasterGraph extends ContributorsGraph
 
class window.ContributorsAuthorGraph extends ContributorsGraph
constructor: (@data) ->
@width = 490
if $(window).width() > 1214
@width = 490
else
@width = 380
@height = 130
@x = null
@y = null
Loading
Loading
Loading
Loading
@@ -14,27 +14,29 @@
font-size: 10px;
}
 
#contributors .person {
&:nth-child(even) {
float: right;
#contributors {
.contributors-list {
margin: 0 0 10px 0;
list-style: none;
padding: 0;
}
float: left;
margin-top: 10px;
}
 
.contributors-list {
margin: 0 0 10px 0;
list-style: none;
padding: 0;
}
.person {
&:nth-child(even) {
float: right;
}
float: left;
margin-top: 10px;
}
 
#contributors .person .spark {
display: block;
background: #f3f3f3;
}
.person .spark {
display: block;
background: #f3f3f3;
}
 
#contributors .person .area-contributor {
fill: #f17f49;
.person .area-contributor {
fill: #f17f49;
}
}
 
.selection rect {
Loading
Loading
%h3.page-title Project Network Graph
.clearfix
.pull-left
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
Loading
Loading
Loading
Loading
@@ -3,7 +3,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
include SharedProject
 
Then 'page should have network graph' do
page.should have_content "Project Network Graph"
page.should have_selector ".graph"
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment