Skip to content

Commit 7417859

Browse files
CSS MUI
1 parent cfc46a5 commit 7417859

File tree

4 files changed

+26
-8
lines changed

4 files changed

+26
-8
lines changed

Diff for: README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
# score_keeper
1+
# score_keeper
2+
3+
4+
// on 28th Feb 2023
5+
6+
@2005balaji fixed a CSS bug that makes the Game Title position fixed
7+
Reason :-- MUI overlap
8+

Diff for: frontend/src/App.css

+5-6
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,12 @@ span{
340340
align-items: center;
341341
}
342342

343-
.gametitle{
344-
margin-top: 10%;
345-
width: 40%;
346-
height: 10%;
347-
border: solid black;
348-
}
349343

344+
#gametitle-re{
345+
margin-top: 1rem;
346+
width: 46%;
347+
height: 2rem;
348+
}
350349
.main-part-up{
351350
margin-top: 2%;
352351
display: flex;

Diff for: frontend/src/components/NewGame.jsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { useNavigate } from 'react-router-dom';
77

88
function NewGame() {
99

10+
// Logic
11+
1012
const [count1, setCount1] = useState(0);
1113
const navigate = useNavigate();
1214

@@ -34,8 +36,12 @@ function NewGame() {
3436
}
3537

3638
return (
39+
3740
<div className='newgame-page'>
38-
<TextField className='gametitle' id="outlined-basic" label="This is the Game Title !!" variant="outlined" />
41+
42+
<>
43+
<input id='gametitle-re' type="text" placeholder="This is the Game Title !!" />
44+
</>
3945
<div className='main-part-up'>
4046
<div className='score-1'>{count1}</div>
4147
<div>

Diff for: package-lock.json

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)