Skip to content

Commit 6e49132

Browse files
committed
color updates
1 parent 7b57404 commit 6e49132

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/app/components/AtomsRelationship.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function AtomsRelationship(props) {
4141
'#5fdaed',
4242
],
4343

44-
label: { color: '#fff', fontSize: '14' },
44+
label: { color: '#fff', fontSize: '13' },
4545
nodePadding: 50,
4646
width: 15,
4747
},

src/app/components/ComponentMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const ComponentMap = (props: componentMapProps) => {
135135
.attr('y', '-5')
136136
.attr('text-anchor', 'end')
137137
.text((d: any) => d.data.name.slice(0, 14)) // Limits Characters in Display
138-
.style('font-size', `.6rem`)
138+
.style('font-size', `.7rem`)
139139
.style('fill', 'white')
140140
.clone(true)
141141
.lower()

src/app/components/History.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function History(props) {
6868
const g = svgContainer
6969
.append('g')
7070
// 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})`)
7272

7373
// d3.hierarchy constructs a root node from the specified hierarchical data
7474
// (our object titled dataset), which must be an object representing the root node
@@ -83,6 +83,7 @@ function History(props) {
8383

8484
const d3root = tree(hierarchy);
8585

86+
8687
g.selectAll('.link')
8788
// root.links() gets an array of all the links,
8889
// where each element is an object containing a
@@ -112,7 +113,7 @@ function History(props) {
112113

113114
if (loadTime !== undefined) {
114115
if (loadTime > 16) {
115-
return '#ff0000';
116+
return '#d62b2b';
116117
}
117118
}
118119

src/app/styles/base/_base.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
html {
22
margin: 0;
3-
height: 99%;
3+
padding: 0;
4+
height: 100%;
45
}
56

67
body {
78
margin: 0;
8-
height:99%;
9+
height: 100%;
910
}
1011

1112
#root {
12-
margin: 0;
13-
height: 99%;
13+
height: 100%;
1414
}
1515

1616
.travel-container {

0 commit comments

Comments
 (0)