Skip to content

Commit e487799

Browse files
committed
Removing styling bugs
1 parent 92ed272 commit e487799

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/App.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ html, body, * {
1010

1111
body {
1212
margin: 0;
13-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
14-
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
15-
sans-serif;
13+
font-family: Open Sans, Helvetica,Arial, sans-serif;
1614
-webkit-font-smoothing: antialiased;
1715
-moz-osx-font-smoothing: grayscale;
1816
}

src/components/Canvas/Canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Canvas extends Component {
1616
const MARGIN = CONSTANTS.margin;
1717
const SCREEN_WIDTH = window.innerWidth;
1818
const BAR_WIDTH = Math.floor((SCREEN_WIDTH - (MARGIN*arrayLength)) / arrayLength);
19-
const MARGIN_BTW_CANVAS_AND_OPTIONS = 146;
19+
const MARGIN_BTW_CANVAS_AND_OPTIONS = 127;
2020
const CANVAS_HEIGHT = window.innerHeight - CONSTANTS.OFFSET + MARGIN_BTW_CANVAS_AND_OPTIONS +"px";
2121
const FONT_SIZE = Math.floor(BAR_WIDTH * 0.4);
2222
const PINK = "#ff595e";

src/index 2.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import React from "react";
2+
import { createRoot } from 'react-dom/client';
3+
4+
import App from "./App";
5+
const container = document.getElementById("root");
6+
7+
const root = createRoot(container);
8+
root.render(<App />);

0 commit comments

Comments
 (0)