Skip to content

Commit

Permalink
🚨 Fixed issues from codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
EdTonatto committed Jun 26, 2023
1 parent 66ec9fb commit 251da34
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 20 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ npm run deploy

## Dependencies

- phosphor-react: ^1.4.1
- react: ^18.2.0
- react-dom: ^18.2.0
- phosphor-react: ^1.4.1
- react: ^18.2.0
- react-dom: ^18.2.0

## License

Expand Down
3 changes: 1 addition & 2 deletions src/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
max-width: 80rem;
margin: 2rem auto;
padding: 0 1rem;

display: grid;
grid-template-columns: 256px 1fr;
gap: 2rem;
align-items: flex-start;
}
}
4 changes: 2 additions & 2 deletions src/components/Game.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
height: 10rem;
border-radius: 8px;
border: 4px solid var(--black);
outline: 2px solid var(--blue-2)
outline: 2px solid var(--blue-2);
}

.gameDescription {
display: flex;
align-items: top;
border: 1px solid red;
}
}
2 changes: 1 addition & 1 deletion src/components/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

.header img {
height: 3.87rem;
}
}
10 changes: 3 additions & 7 deletions src/components/Sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
display: flex;
flex-direction: column;
align-items: center;

margin-top: calc(0px - 1.875rem - 6px);
}

Expand All @@ -36,7 +35,7 @@
height: 3.75rem;
border-radius: 8px;
border: 4px solid var(--black);
outline: 2px solid var(--blue-2)
outline: 2px solid var(--blue-2);
}

.sidebar footer {
Expand All @@ -55,17 +54,14 @@
font-weight: bold;
display: block;
text-decoration: none;

display: flex;
align-items: center;
justify-content: center;

gap: 0.5rem;

transition: color 0.1s, background-color 0.1s;
}

.sidebar footer a:hover{
.sidebar footer a:hover {
background: var(--blue-1);
color: var(--white);
}
}
7 changes: 2 additions & 5 deletions src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

* {
margin: 0;
margin: 0;
padding: 0;
box-sizing: border-box;
}
Expand All @@ -17,10 +17,7 @@ body {
background: var(--blue-2);
color: var(--white);
-webkit-font-smoothing: antialiased;
}

body {
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-size: 1rem;
}
}

0 comments on commit 251da34

Please sign in to comment.