Skip to content

Commit

Permalink
Merge pull request #4 from jalaj-k/iss_2
Browse files Browse the repository at this point in the history
Fix #2
  • Loading branch information
Jalaj committed Aug 31, 2020
2 parents 5131a1c + c6e697c commit c738e28
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 27 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"clsx": "^1.1.1",
"date-fns": "^2.15.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand Down
27 changes: 3 additions & 24 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,9 @@
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->

<title>React App</title>
<style>
body {
Expand All @@ -44,7 +33,6 @@

main{
overflow-y: auto;
max-height: calc(100vh - 70px);
}

a {
Expand All @@ -55,15 +43,6 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->

</body>
</html>
1 change: 0 additions & 1 deletion src/components/TodoItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
EditOutlined,
ExpandMoreOutlined,
} from "@material-ui/icons"
import clsx from "clsx"

class TodoItem extends React.Component {
constructor(props) {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class CreateNew extends React.Component {

render() {
return (
<div>
<div className={this.props.classes.root}>
<form autoComplete="false">
<TextField
className={this.classes.input}
Expand Down Expand Up @@ -365,6 +365,7 @@ class CreateNew extends React.Component {
export default withStyles(theme => ({
root: {
display: "block",
maxHeight: "calc(85vh - 70px)"
},
formControl: {
margin: theme.spacing(1),
Expand Down
1 change: 1 addition & 0 deletions src/pages/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ class List extends React.Component {
export default withStyles(theme => ({
root: {
display: "block",
maxHeight: "80vh"
},
grow: {
flexGrow: 1,
Expand Down

0 comments on commit c738e28

Please sign in to comment.