Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit bfb4f94

Browse files
Add hello-bar to website (#91)
* Add hello-bar to website * revision 1: add hello-bar to web
1 parent 7cc81a8 commit bfb4f94

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

public/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
content="code, cause, codeforcause, learning, coding"
2424
/>
2525
<meta name="author" content="Code for Cause" />
26+
<script src="https://my.hellobar.com/4c5dc38c100e97f3dd9a7ab3d6e982ee78956d08.js"
27+
type="text/javascript"
28+
charset="utf-8"
29+
async="async"></script>
2630
</head>
2731
<body>
2832
<noscript>You need to enable JavaScript to run this app.</noscript>

src/App.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ const useStyles = makeStyles(() =>
4242
'-webkit-font-smoothing': 'antialiased',
4343
'-moz-osx-font-smoothing': 'grayscale',
4444
height: '100%',
45-
width: '100%'
45+
width: '100%',
4646
},
4747
body: {
4848
height: '100%',
49-
width: '100%'
49+
width: '100%',
50+
overflow: 'hidden'
5051
},
5152
'#root': {
5253
height: '100%',

src/layouts/MainLayout/TopBar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const useStyles = makeStyles(theme => ({
2727
backgroundColor: theme.palette.background.default,
2828
paddingLeft: 70,
2929
paddingRight: 70,
30+
top: 'auto',
3031
[theme.breakpoints.down('md')]: {
3132
paddingLeft: 15,
3233
paddingRight: 15

0 commit comments

Comments
 (0)