Skip to content

Commit 6c8e8d0

Browse files
committed
CSS added to the bubblechart div
1 parent 82c8599 commit 6c8e8d0

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/components/Api/GitApi.css

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.b-chart
2+
{
3+
display: flex;
4+
justify-content:center;
5+
}
6+
7+
.title
8+
{
9+
justify-content: flex-start;
10+
}

src/components/Api/GitApi.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { useEffect, useState } from "react";
22
import Bubblechart from "../Resources/Bubblechart";
3+
import "./GitApi.css";
34

45
const GitApi = () => {
56

@@ -25,10 +26,9 @@ const GitApi = () => {
2526

2627
return (
2728

28-
<div>
29-
30-
<Bubblechart data = {contributor}></Bubblechart>
31-
29+
<div className = "b-chart">
30+
<h1 className="b-title">Contributors</h1>
31+
<Bubblechart data = {contributor}></Bubblechart>
3232
</div>
3333
);
3434
};

0 commit comments

Comments
 (0)