Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7a1e63a

Browse files
committed
Adjusted graphs to have similar dimensions
1 parent 7b246e7 commit 7a1e63a

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

app/directives/distribution-graph/distribution-graph.directive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
}
5858
];
5959
var w = 600,
60-
h = 300,
61-
padding = { top: 10, left: 100, bottom: 100, right: 0 };
60+
h = 400,
61+
padding = { top: 20, left: 100, bottom: 100, right: 0 };
6262
var totalW = w + padding.left + padding.right;
6363
var totalH = h + padding.top + padding.bottom;
6464

@@ -92,7 +92,7 @@
9292
.attr('y', padding.top)
9393
.attr('width', w)
9494
.attr('height', h)
95-
.attr('fill', '#eeeeee')
95+
.attr('fill', '#f6f6f6')
9696

9797
svg.append('g')
9898
.attr('class', 'grid')

assets/css/directives/distribution-graph.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
}
5353
.info-port {
5454
margin-left: 2px;
55-
margin-top: 10px;
56-
background: #eeeeee;
57-
height: 300px;
55+
margin-top: 20px;
56+
background: #f6f6f6;
57+
height: 400px;
5858
width: 250px;
5959
display: flex;
6060
flex-direction: column;

assets/css/directives/history-graph.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
flex-direction: row;
44
.history-graph {
55

6+
margin-left: 40px;
7+
68
.axis path,
79
.axis line {
810
fill: none;

assets/css/profile/subtrack.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,12 @@
1717
}
1818
}
1919
.develop, .design {
20-
20+
2121
.stats {
2222
.graphs {
2323
display: flex;
2424
flex-direction: row;
2525
justify-content: center;
26-
img {
27-
width: 700px;
28-
}
2926
}
3027
h2.detailed {
3128
margin: 50px auto 25px auto;

0 commit comments

Comments
 (0)