File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ function AtomsRelationship(props) {
41
41
'#5fdaed' ,
42
42
] ,
43
43
44
- label : { color : '#fff' , fontSize : '14 ' } ,
44
+ label : { color : '#fff' , fontSize : '13 ' } ,
45
45
nodePadding : 50 ,
46
46
width : 15 ,
47
47
} ,
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ const ComponentMap = (props: componentMapProps) => {
135
135
. attr ( 'y' , '-5' )
136
136
. attr ( 'text-anchor' , 'end' )
137
137
. text ( ( d : any ) => d . data . name . slice ( 0 , 14 ) ) // Limits Characters in Display
138
- . style ( 'font-size' , `.6rem ` )
138
+ . style ( 'font-size' , `.7rem ` )
139
139
. style ( 'fill' , 'white' )
140
140
. clone ( true )
141
141
. lower ( )
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function History(props) {
68
68
const g = svgContainer
69
69
. append ( 'g' )
70
70
// this is changing where the graph is located physically
71
- . attr ( 'transform' , `translate(${ width / 2 + 4 } , ${ height / 2 + 2 } )` ) ;
71
+ . attr ( 'transform' , `translate(${ width / 2 + 4 } , ${ height / 2 + 2 } )` )
72
72
73
73
// d3.hierarchy constructs a root node from the specified hierarchical data
74
74
// (our object titled dataset), which must be an object representing the root node
@@ -83,6 +83,7 @@ function History(props) {
83
83
84
84
const d3root = tree ( hierarchy ) ;
85
85
86
+
86
87
g . selectAll ( '.link' )
87
88
// root.links() gets an array of all the links,
88
89
// where each element is an object containing a
@@ -112,7 +113,7 @@ function History(props) {
112
113
113
114
if ( loadTime !== undefined ) {
114
115
if ( loadTime > 16 ) {
115
- return '#ff0000 ' ;
116
+ return '#d62b2b ' ;
116
117
}
117
118
}
118
119
Original file line number Diff line number Diff line change 1
1
html {
2
2
margin : 0 ;
3
- height : 99% ;
3
+ padding : 0 ;
4
+ height : 100% ;
4
5
}
5
6
6
7
body {
7
8
margin : 0 ;
8
- height :99 % ;
9
+ height : 100 % ;
9
10
}
10
11
11
12
#root {
12
- margin : 0 ;
13
- height : 99% ;
13
+ height : 100% ;
14
14
}
15
15
16
16
.travel-container {
You can’t perform that action at this time.
0 commit comments