Skip to content

Commit d4d5c52

Browse files
committed
graphs aren/'t opening up
1 parent 69d8162 commit d4d5c52

6 files changed

Lines changed: 18 additions & 6 deletions

File tree

app/components/Contact.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import '../stylesheets/Contact.css';
2+
import '../stylesheets/Contact.scss';
33

44
const Contact: React.FC = () => {
55
return (

app/modals/ServicesModal.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ const ServicesModal: React.SFC<ServicesModalProps> = ({ i, app }) => {
4040
};
4141

4242
return (
43-
<div className="services-container" onClick={() => fetchStuff()}>
43+
<div className="servicesContainer" onClick={() => fetchStuff()}>
4444
{!servicesData.length ? (
45-
<h2 id="loadingMessage">Loading...</h2>
45+
<div className="loadingMessageModal">
46+
<h2 id="loadingMessage">Loading...</h2>
47+
</div>
48+
4649
) : (
4750
<>
4851
<div className="services-header">
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import './constants.scss';
2+
13
.contact {
24
background-color: #f4f4f4;
35
height: 100%;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import './constants.scss';
2+
13
/* .services-btn {
24
font-family: 'Nunito', sans-serif;
35
background-color: #24262F;

app/stylesheets/ServicesModal.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
@import './constants.scss';
22

3-
.services-container {
3+
.servicesContainer {
4+
width: 100px;
45
@include centerModal(375px);
6+
57

68
// Header
79
.services-header {
@@ -53,7 +55,10 @@
5355
}
5456
}
5557

58+
.loadingMessage {
59+
max-width: 80px;
60+
}
61+
5662
#loadingMessage {
5763
font-size: 14px;
58-
width: 100px;
5964
}

app/stylesheets/constants.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$yellow: #fce356;
2-
$navy: #161b2d;
2+
$navy: #12172a;
33
$background: #fff;
44
$grey: #eeeeee;
55
$icon: #999999;

0 commit comments

Comments
 (0)